fix incorrect variable order in file_path.replace
This commit is contained in:
parent
b0d574dfb0
commit
830f98573e
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ def merge(merged_path):
|
||||||
return False # No coffeescript compiler, skip this file
|
return False # No coffeescript compiler, skip this file
|
||||||
|
|
||||||
# Replace / with os separators and escape it
|
# Replace / with os separators and escape it
|
||||||
file_path_escaped = helper.shellquote(file_path.replace(os.path.sep, "/"))
|
file_path_escaped = helper.shellquote(file_path.replace("/", os.path.sep))
|
||||||
|
|
||||||
if "%s" in config.coffeescript_compiler: # Replace %s with coffeescript file
|
if "%s" in config.coffeescript_compiler: # Replace %s with coffeescript file
|
||||||
command = config.coffeescript_compiler % file_path_escaped
|
command = config.coffeescript_compiler % file_path_escaped
|
||||||
|
|
Loading…
Reference in a new issue