Skip to content

Commit 8821f7f

Browse files
dcodeIOMaxGraey
andauthored
Update cli/asc.js
Co-authored-by: Max Graey <[email protected]>
1 parent 79403bd commit 8821f7f

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
@@ -470,7 +470,7 @@ exports.main = function main(argv, options, callback) {
470470
let customLibDirs = [];
471471
if (opts.lib) {
472472
let lib = opts.lib;
473-
if (typeof lib === "string") lib = lib.split(/\s*,\s*/);
473+
if (typeof lib === "string") lib = lib.split(",");
474474
customLibDirs.push(...lib.map(p => p.trim()));
475475
customLibDirs = unique(customLibDirs); // `lib` and `customLibDirs` may include duplicates
476476
for (let i = 0, k = customLibDirs.length; i < k; ++i) { // custom

0 commit comments

Comments
 (0)