Skip to content

Commit bbea619

Browse files
authored
Merge pull request #174 from docsbydoxdox/hotfix/eol-cross-system
[hotfix] Fixed issue with doxdoxignore from macOS on Windows.
2 parents 57debdf + d2bb178 commit bbea619

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/doxdox-core/src/utils.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { EOL } from 'os';
2-
31
import { promises as fs } from 'fs';
42

53
import { resolve, dirname } from 'path';
@@ -187,7 +185,7 @@ export const parseConfigFromCLI = (
187185
export const parseIgnoreConfig = (contents: string): string[] =>
188186
contents
189187
.trim()
190-
.split(EOL)
188+
.split(/\r?\n/)
191189
.filter(line => line.trim())
192190
.map(line => `!${line.trim().replace(/^!/, '')}`);
193191

0 commit comments

Comments
 (0)