Skip to content

Commit 9cb99da

Browse files
authored
Make work on Windows
1 parent b4ba0bd commit 9cb99da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby-stubs/r10k-validate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ require 'English'
22

33
status = 0
44
ARGV.each do |file|
5-
output = `(cd $(dirname "#{file}") && r10k puppetfile check 2>&1)`
5+
output = `r10k puppetfile check --puppetfile="#{file}" 2>&1)`
66
next if $CHILD_STATUS.exitstatus == 0
77
puts "#{file}: failed r10k validation"
88
puts output

0 commit comments

Comments
 (0)