diff options
author | Götz Christ <goetzchrist@pm.me> | 2021-09-17 03:55:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 17:55:28 +0900 |
commit | 2f72a3ed1972d23a5ef50c78715ec68f090932e8 (patch) | |
tree | 37e33f7f23ca8a025ce5c6e0597278ca253f6411 | |
parent | dca56dd77267d6cedc3785f1359dd96d1f4b3fa9 (diff) | |
download | ale-2f72a3ed1972d23a5ef50c78715ec68f090932e8.zip |
[YAML] CircleCI: skip checking for new tool version (#3902)
This way the tool runs a bit faster and we don't create unneeded network requests. Don't know if there are other network requests still occurring.
-rw-r--r-- | ale_linters/yaml/circleci.vim | 2 | ||||
-rw-r--r-- | test/linter/test_circleci.vader | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/yaml/circleci.vim b/ale_linters/yaml/circleci.vim index 3df61459..20835454 100644 --- a/ale_linters/yaml/circleci.vim +++ b/ale_linters/yaml/circleci.vim @@ -28,7 +28,7 @@ endfunction call ale#linter#Define('yaml', { \ 'name': 'circleci', \ 'executable': {b -> expand('#' . b . ':p') =~? '\.circleci' ? 'circleci' : ''}, -\ 'command': 'circleci config validate - < %s', +\ 'command': 'circleci --skip-update-check config validate - < %s', \ 'callback': 'ale_linters#yaml#circleci#Handle', \ 'output_stream': 'stderr', \ 'lint_file': 1, diff --git a/test/linter/test_circleci.vader b/test/linter/test_circleci.vader index f63cc513..000a77ec 100644 --- a/test/linter/test_circleci.vader +++ b/test/linter/test_circleci.vader @@ -10,4 +10,4 @@ Execute(The linter should not run for every YAML file): Execute(The linter should for YAML files in a .circleci directory): call ale#test#SetFilename('../test-files/.circleci/config.yml') - AssertLinter 'circleci', 'circleci config validate - < %s' + AssertLinter 'circleci', 'circleci --skip-update-check config validate - < %s' |