Skip to content

Commit

Permalink
test: make sure the file checked doesn't change with .gitignore
Browse files Browse the repository at this point in the history
The integration repositories are clean and should not contain any extra files. If the `--gitignore` option ignores any of those files, then something is wrong. This check would have caught #1846.
  • Loading branch information
Jason3S committed Oct 8, 2021
1 parent bb9a9a7 commit 1f5cf79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/src/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { PrefixLogger } from './PrefixLogger';
import { Logger } from './types';

const config = readConfig();
const cspellArgs = '-u --no-progress --relative --show-context';
const cspellArgs = '-u --no-progress --relative --show-context --gitignore --gitignore-root=. ';
const jsCspell = JSON.stringify(Path.resolve(__dirname, '..', '..', 'bin.js'));

const cspellCommand = `node ${jsCspell} ${cspellArgs}`;
Expand Down

0 comments on commit 1f5cf79

Please sign in to comment.