Skip to content

Commit bbb4406

Browse files
committed
escape load paths as well
1 parent e8d85ee commit bbb4406

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
@@ -13,7 +13,7 @@ def dartsass_build_options
1313
end
1414

1515
def dartsass_load_paths
16-
[ CSS_LOAD_PATH ].concat(Rails.application.config.assets.paths).map { |path| "--load-path #{path}" }.join(" ")
16+
[ CSS_LOAD_PATH ].concat(Rails.application.config.assets.paths).map { |path| "--load-path #{Shellwords.escape(path)}" }.join(" ")
1717
end
1818

1919
def dartsass_compile_command

0 commit comments

Comments
 (0)