##// END OF EJS Templates
Update package name in error prompt.
Kyle Kelley -
Show More
@@ -67,9 +67,9 b' def _compile_less(source, target, sourcemap, minify=True, verbose=False):'
67 out = out.decode('utf8', 'replace')
67 out = out.decode('utf8', 'replace')
68 less_version = out.split()[1]
68 less_version = out.split()[1]
69 if V(less_version) < V(min_less_version):
69 if V(less_version) < V(min_less_version):
70 raise ValueError("lessc too old: %s < %s. Use `$ npm install lesscss@X.Y.Z` to install a specific version of less" % (less_version, min_less_version))
70 raise ValueError("lessc too old: %s < %s. Use `$ npm install less@X.Y.Z` to install a specific version of less" % (less_version, min_less_version))
71 if V(less_version) >= V(max_less_version):
71 if V(less_version) >= V(max_less_version):
72 raise ValueError("lessc too new: %s >= %s. Use `$ npm install lesscss@X.Y.Z` to install a specific version of less" % (less_version, max_less_version))
72 raise ValueError("lessc too new: %s >= %s. Use `$ npm install less@X.Y.Z` to install a specific version of less" % (less_version, max_less_version))
73
73
74 static_path = pjoin(here, static_dir)
74 static_path = pjoin(here, static_dir)
75 cwd = os.getcwd()
75 cwd = os.getcwd()
General Comments 0
You need to be logged in to leave comments. Login now