Skip to content
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Apr 17, 2012
Jaye Marshall Use path module for windows compatibility. 30611e6
@epeli epeli Merge pull request #11 from jmars/windows_path_fix
Use path module for windows compatibility.
783be41
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/piler.coffee
View
2 lib/piler.coffee
@@ -49,7 +49,7 @@ asCodeOb = do ->
hash = sum.digest('hex').substring 10, 0
if @type in ["file", "module"]
- filename = _.last @filePath.split("/")
+ filename = path.basename @filePath
filename = filename.replace /\./g, "_"
filename = filename.replace /\-/g, "_"
hash = filename + "_" + hash

No commit comments for this range

Something went wrong with that request. Please try again.