From 1f5cf79191ffa0a559c2c10e8794cfdb42081ae9 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Fri, 8 Oct 2021 07:42:08 +0200 Subject: [PATCH] test: make sure the file checked doesn't change with `.gitignore` 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. --- integration-tests/src/check.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/src/check.ts b/integration-tests/src/check.ts index 6688c6b2f245..c9f01bf4b66a 100644 --- a/integration-tests/src/check.ts +++ b/integration-tests/src/check.ts @@ -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}`;