mirror of
https://github.com/less/less.js.git
synced 2026-02-14 00:44:59 -05:00
Fix lint errors and add tests for @import (plugin)
This commit is contained in:
@@ -17,7 +17,7 @@ PluginLoader.prototype.tryImportPlugin = function(resolvedFileName) {
|
||||
}
|
||||
if (plugin.minVersion) {
|
||||
if (this.compareVersion(plugin.minVersion, this.less.version) < 0) {
|
||||
console.log("plugin " + name + " requires version " + this.versionToString(plugin.minVersion));
|
||||
console.log("plugin at" + resolvedFileName + " requires version " + this.versionToString(plugin.minVersion));
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user