We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39cf9d2 commit a7d8625Copy full SHA for a7d8625
src/cli.ts
@@ -135,7 +135,7 @@ async function main() {
135
};
136
if (flags.skip) {
137
if (typeof flags.skip === 'string') {
138
- opts.linksToSkip = flags.skip.split(' ').filter(x => !!x);
+ opts.linksToSkip = flags.skip.split(/[\s,]+/).filter(x => !!x);
139
} else if (Array.isArray(flags.skip)) {
140
opts.linksToSkip = flags.skip;
141
}
test/zcli.ts
@@ -45,7 +45,7 @@ describe('cli', () => {
45
'--verbosity',
46
'INFO',
47
'--skip',
48
- 'LICENSE.md',
+ '"LICENSE.md, unlinked.md"',
49
'test/fixtures/markdown/README.md',
50
]);
51
assert.match(res.stdout, /\[SKP\]/);
0 commit comments