summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-21 15:12:18 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-22 13:02:58 +0300
commit2546cb8ece5fe757eb216ee09cffba76539acffb (patch)
treec720b7af26a97501a99436468014f12c3299dddc
parent470f55351bfac96a1a17b36c026caec980a31c96 (diff)
downloadgitlab-ce-dz-no-ee-check.tar.gz
Update no-ee-check with rubocop recommendation.dz-no-ee-check
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rwxr-xr-xscripts/no-ee-check2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/no-ee-check b/scripts/no-ee-check
index bd53de5a949..f1cf0d04e9a 100755
--- a/scripts/no-ee-check
+++ b/scripts/no-ee-check
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-ee_path = File.join(File.expand_path(File.dirname(__FILE__)), '../ee')
+ee_path = File.join(File.expand_path(__dir__), '../ee')
result = Dir.exist?(ee_path)
if result