This commit is contained in:
shortcutme 2017-05-23 12:42:16 +02:00
commit fb43dfb4f2
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -85,7 +85,7 @@ def merge(merged_path):
return False # No coffeescript compiler, skip this file
# Replace / with os separators and escape it
file_path_escaped = helper.shellquote(os.path.join(*file_path.split("/")))
file_path_escaped = helper.shellquote(file_path.replace(os.path.sep, "/"))
if "%s" in config.coffeescript_compiler: # Replace %s with coffeescript file
command = config.coffeescript_compiler % file_path_escaped