Skip to content

Commit 392596d

Browse files
author
David Heinemeier Hansson
committed
Ensure vendor/javascript is created
1 parent 57f4650 commit 392596d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/install/install.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
JS
1515
end
1616

17+
say "Use vendor/javascript for downloaded pins"
18+
empty_directory "vendor/javascript"
19+
keep_file "vendor/javascript"
20+
1721
if (sprockets_manifest_path = Rails.root.join("app/assets/config/manifest.js")).exist?
1822
say "Ensure JavaScript files are in the Sprocket manifest"
1923
append_to_file sprockets_manifest_path,

0 commit comments

Comments
 (0)