Skip to content

Commit e8d85ee

Browse files
committed
use Shellwords.escape to allow spaces in file paths
1 parent 61f5f50 commit e8d85ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/build.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CSS_BUILD_PATH = Rails.root.join("app/assets/builds")
44

55
def dartsass_build_mapping
66
Rails.application.config.dartsass.builds.map { |input, output|
7-
"#{CSS_LOAD_PATH.join(input)}:#{CSS_BUILD_PATH.join(output)}"
7+
"#{Shellwords.escape(CSS_LOAD_PATH.join(input))}:#{Shellwords.escape(CSS_BUILD_PATH.join(output))}"
88
}.join(" ")
99
end
1010

0 commit comments

Comments
 (0)