]> git.openstreetmap.org Git - rails.git/blobdiff - lib/tasks/eslint.rake
Localisation updates from https://translatewiki.net.
[rails.git] / lib / tasks / eslint.rake
index 311d79c76ab9bb5057d7a3e8bc9af28fd3e45aa4..320651b5a3fd615818d56f600e5df359d2b69393 100644 (file)
@@ -2,11 +2,11 @@ task "eslint" => "eslint:check"
 
 namespace "eslint" do
   def yarn_path
 
 namespace "eslint" do
   def yarn_path
-    Rails.root.join("bin", "yarn").to_s
+    Rails.root.join("bin/yarn").to_s
   end
 
   def config_file
   end
 
   def config_file
-    Rails.root.join("config", "eslint.json").to_s
+    Rails.root.join("config/eslint.json").to_s
   end
 
   def js_files
   end
 
   def js_files