Skip to content
代码片段 群组 项目
提交 5e635e05 编辑于 作者: Heinrich Lee Yu's avatar Heinrich Lee Yu
浏览文件

Merge branch 'pl-rubocop-style-special-global-vars-fix' into 'master'

Fix silenced offenses for Style/SpecialGlobalVars

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/101199



Merged-by: default avatarHeinrich Lee Yu <heinrich@gitlab.com>
Approved-by: default avatarHeinrich Lee Yu <heinrich@gitlab.com>
Co-authored-by: default avatarPeter Leitzen <pleitzen@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -96,7 +96,7 @@ def timed(task) ...@@ -96,7 +96,7 @@ def timed(task)
puts "#{task} finished in #{Time.now - start} seconds.\n" puts "#{task} finished in #{Time.now - start} seconds.\n"
end end
if $0 == __FILE__ if $PROGRAM_NAME == __FILE__
options = { options = {
dry_run: false dry_run: false
} }
......
...@@ -265,7 +265,7 @@ def timed(task) ...@@ -265,7 +265,7 @@ def timed(task)
puts "#{task} finished in #{Time.now - start} seconds.\n" puts "#{task} finished in #{Time.now - start} seconds.\n"
end end
if $0 == __FILE__ if $PROGRAM_NAME == __FILE__
options = { options = {
dry_run: false dry_run: false
} }
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册