We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57debdf + d2bb178 commit bbea619Copy full SHA for bbea619
packages/doxdox-core/src/utils.ts
@@ -1,5 +1,3 @@
1
-import { EOL } from 'os';
2
-
3
import { promises as fs } from 'fs';
4
5
import { resolve, dirname } from 'path';
@@ -187,7 +185,7 @@ export const parseConfigFromCLI = (
187
185
export const parseIgnoreConfig = (contents: string): string[] =>
188
186
contents
189
.trim()
190
- .split(EOL)
+ .split(/\r?\n/)
191
.filter(line => line.trim())
192
.map(line => `!${line.trim().replace(/^!/, '')}`);
193
0 commit comments