Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Feed the template path to instance_eval in apply action, closes #42

  • Loading branch information...
commit 0d5812009c073599c93c0ef70ae54802e5faa43b 1 parent f963181
@josevalim josevalim authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/thor/actions.rb
View
2  lib/thor/actions.rb
@@ -180,7 +180,7 @@ def apply(path, config={})
say_status :apply, path, verbose
shell.padding += 1 if verbose
- instance_eval(open(path).read)
+ instance_eval(open(path).read, path)
shell.padding -= 1 if verbose
end
Please sign in to comment.
Something went wrong with that request. Please try again.