Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mad-gooze committed Sep 24, 2021
1 parent 410b86d commit 883240b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion packages/cspell/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ export async function run(program?: commander.Command, argv?: string[]): Promise
.option('--legacy', 'Legacy output')
.option('--local <local>', 'Deprecated -- Use: --locale')
.option('--cache', 'Only check changed files', false)
.option('--cache-location <path>', `Path to the cache file or directory (default: "${DEFAULT_CACHE_LOCATION}"), also enables --cache`)
.option(
'--cache-location <path>',
`Path to the cache file or directory (default: "${DEFAULT_CACHE_LOCATION}"), also enables --cache`
)
.addHelpText('after', usage)
.arguments('[files...]')
.action((files: string[], options: Options) => {
Expand Down
8 changes: 6 additions & 2 deletions packages/cspell/src/util/cache/DummyCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ export class DummyCache implements CSpellLintResultCache {
getCachedLintResults() {
return Promise.resolve(undefined);
}
setCachedLintResults() {}
reconcile() {}
setCachedLintResults(): void {
return;
}
reconcile(): void {
return;
}
}

0 comments on commit 883240b

Please sign in to comment.