Skip to content

Commit fb9f2af

Browse files
adjust comments
1 parent 60126bf commit fb9f2af

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lib/analysis-paths.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analysis-paths.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/analysis-paths.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ export function includeAndExcludeAnalysisPaths(config: configUtils.Config, langu
2727
// control which files/directories are traversed when scanning.
2828
// This allows including files that otherwise would not be scanned, or
2929
// excluding and not traversing entire file subtrees.
30-
// It does not understand double-globs because that would require it to
30+
// It does not understand globs or double-globs because that would require it to
3131
// traverse the entire file tree to determine which files are matched.
32-
// Any paths containing "**" are not included in these.
32+
// Any paths containing "*" are not included in these.
3333
if (config.paths.length !== 0) {
3434
core.exportVariable('LGTM_INDEX_INCLUDE', buildIncludeExcludeEnvVar(config.paths));
3535
}
@@ -39,7 +39,7 @@ export function includeAndExcludeAnalysisPaths(config: configUtils.Config, langu
3939

4040
// The 'LGTM_INDEX_FILTERS' environment variable controls which files are
4141
// extracted or ignored. It does not control which directories are traversed.
42-
// This does understand the double-glob syntax.
42+
// This does understand the glob and double-glob syntax.
4343
const filters: string[] = [];
4444
filters.push(...config.paths.map(p => 'include:' + p));
4545
filters.push(...config.pathsIgnore.map(p => 'exclude:' + p));

0 commit comments

Comments
 (0)