Permalink
Browse files

fixing path evaluation

  • Loading branch information...
1 parent 9d0b97b commit 426ddfc06b0caff2ec4f3999a7fb84ea31e7d0ca @arboleya committed Apr 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/toaster/core/module.coffee
@@ -51,7 +51,7 @@ class Module
type = StringUtil.titleize info.type
# relative filepath
- relative_path = info.path.replace "#{@src}/", ""
+ relative_path = info.path.replace "#{@src}/".replace("//", "/"), ""
# switch over created, deleted, updated and watching
switch info.action

0 comments on commit 426ddfc

Please sign in to comment.