Skip to content

Commit

Permalink
fix: do not use ignore option on files copy
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3k0 authored and 3y3 committed Jul 24, 2023
1 parent 2a63fa1 commit 8d1ca53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 4 additions & 1 deletion src/cmd/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ function preparingTemporaryFolders(userOutputFolder: string) {
cwd: args.rootInput,
nodir: true,
follow: true,
ignore: args.ignore,
ignore: [
'node_modules/**',
'*/node_modules/**',
],
}));
}
5 changes: 0 additions & 5 deletions src/services/argv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ function init(argv: any) {

_argv.ignore = _argv.ignore.concat(ignore);
} catch {}

_argv.ignore = _argv.ignore.concat([
'node_modules/**',
'*/node_modules/**',
]);
}

function set(argv: YfmArgv) {
Expand Down

0 comments on commit 8d1ca53

Please sign in to comment.