зеркало из https://github.com/github/codeql.git
Apply suggestions from code review
Co-authored-by: Henry Mercer <henry.mercer@me.com>
This commit is contained in:
Родитель
3d495bdd43
Коммит
d98079d72c
|
@ -1,6 +1,6 @@
|
|||
@echo off
|
||||
if exist vendor\modules.txt (
|
||||
type %CODEQL_EXTRACTOR_GO_ROOT%\codeql-tools\baseline-config-vendor.json
|
||||
type %CODEQL_EXTRACTOR_GO_ROOT%\tools\baseline-config-vendor.json
|
||||
) else (
|
||||
type %CODEQL_EXTRACTOR_GO_ROOT%\codeql-tools\baseline-config-empty.json
|
||||
type %CODEQL_EXTRACTOR_GO_ROOT%\tools\baseline-config-empty.json
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -f vendor/modules.txt ]; then
|
||||
cat $CODEQL_EXTRACTOR_GO_ROOT/codeql-tools/baseline-config-vendor.json
|
||||
cat $CODEQL_EXTRACTOR_GO_ROOT/tools/baseline-config-vendor.json
|
||||
else
|
||||
cat $CODEQL_EXTRACTOR_GO_ROOT/codeql-tools/baseline-config-empty.json
|
||||
cat $CODEQL_EXTRACTOR_GO_ROOT/tools/baseline-config-empty.json
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче