diff --git a/lib/cli.ts b/lib/cli.ts index 3d5f6c5..78bd8ae 100644 --- a/lib/cli.ts +++ b/lib/cli.ts @@ -190,7 +190,9 @@ function handler(yargs: Argv): Stream.Transform { globs = globs.concat(ignore); yargs.globs = globs; - return vfs.src(globs) + return vfs.src(globs, { + stripBOM: false, + }) .pipe(filter(excludeBinaryFile)) .pipe(gitignore()); }