Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/static-analysis')
-rwxr-xr-xscripts/static-analysis7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/static-analysis b/scripts/static-analysis
index 14d6a3deccb..1e9fe1cc724 100755
--- a/scripts/static-analysis
+++ b/scripts/static-analysis
@@ -11,7 +11,9 @@ class StaticAnalysis
# https://github.com/browserslist/browserslist/blob/d0ec62eb48c41c218478cd3ac28684df051cc865/node.js#L329
# warns if caniuse-lite package is older than 6 months. Ignore this
# warning message so that GitLab backports don't fail.
- "Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade`"
+ "Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade`",
+ # https://github.com/mime-types/mime-types-data/pull/50#issuecomment-1060908930
+ "Type application/netcdf is already registered as a variant of application/netcdf."
].freeze
Task = Struct.new(:command, :duration) do
@@ -57,7 +59,8 @@ class StaticAnalysis
Task.new(%w[yarn run block-dependencies], 1),
Task.new(%w[yarn run check-dependencies], 1),
Task.new(%w[scripts/lint-rugged], 1),
- Task.new(%w[scripts/gemfile_lock_changed.sh], 1)
+ Task.new(%w[scripts/gemfile_lock_changed.sh], 1),
+ Task.new(%w[scripts/lint-vendored-gems.sh], 1)
].compact.freeze
def run_tasks!(options = {})