Merge pull request #132 from clarkbw/better-debug
use a new variable for better debug output
This commit is contained in:
commit
bd4c2fc968
|
@ -689,12 +689,12 @@ function buildAllMixinInstructions(appRootDir, mixinDirs, mixinSources, options,
|
|||
function findMixinDefinitions(appRootDir, sourceDirs, extensions) {
|
||||
var files = [];
|
||||
sourceDirs.forEach(function(dir) {
|
||||
dir = tryResolveAppPath(appRootDir, dir);
|
||||
if (!dir) {
|
||||
var path = tryResolveAppPath(appRootDir, dir);
|
||||
if (!path) {
|
||||
debug('Skipping unknown module source dir %j', dir);
|
||||
return;
|
||||
}
|
||||
files = files.concat(findScripts(dir, extensions));
|
||||
files = files.concat(findScripts(path, extensions));
|
||||
});
|
||||
return files;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue