We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4ba0bd commit 9cb99daCopy full SHA for 9cb99da
ruby-stubs/r10k-validate
@@ -2,7 +2,7 @@ require 'English'
2
3
status = 0
4
ARGV.each do |file|
5
- output = `(cd $(dirname "#{file}") && r10k puppetfile check 2>&1)`
+ output = `r10k puppetfile check --puppetfile="#{file}" 2>&1)`
6
next if $CHILD_STATUS.exitstatus == 0
7
puts "#{file}: failed r10k validation"
8
puts output
0 commit comments