Skip to content

Commit d700715

Browse files
committed
Merge branch 'master' of https://github.com/lejenome/less.js
Conflicts: lib/less/render.js
2 parents 31c3d04 + e000c78 commit d700715

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/less/parse.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ module.exports = function(environment, ParseTree, ImportManager) {
4646
entryPath: entryPath,
4747
rootFilename: filename
4848
};
49+
// add in a missing trailing slash
50+
if (rootFileInfo.rootpath && rootFileInfo.rootpath.slice(-1) !== "/") {
51+
rootFileInfo.rootpath += "/";
52+
}
4953
}
5054

5155
var imports = new ImportManager(context, rootFileInfo);

0 commit comments

Comments
 (0)