Skip to content

Commit ed52a6f

Browse files
authored
Fix missing argument when specifying a --lib directory (#716)
1 parent be0df3e commit ed52a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/asc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ exports.main = function main(argv, options, callback) {
259259
libFiles = [ path.basename(libDir) ];
260260
libDir = path.dirname(libDir);
261261
} else {
262-
libFiles = listFiles(libDir) || [];
262+
libFiles = listFiles(libDir, baseDir) || [];
263263
}
264264
for (let j = 0, l = libFiles.length; j < l; ++j) {
265265
let libPath = libFiles[j];

0 commit comments

Comments
 (0)