Skip to content

Commit

Permalink
Fix #130
Browse files Browse the repository at this point in the history
Prior to this commit puppet-lint test fails with "foo::bar not in autoload module layout" error.
when not in the correct directory
  • Loading branch information
Zack Smith committed Feb 24, 2015
1 parent 1d6573c commit 40824e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def bash_check(file)
end

def puppet_lint(file)
system('puppet-lint ' + file)
system('puppet-lint ' + File.absolute_path(file))
end

def puppet_erb_check(file)
Expand Down

0 comments on commit 40824e1

Please sign in to comment.