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 644160f commit 30595b7Copy full SHA for 30595b7
lib/puppetlabs_spec_helper/rake_tasks.rb
@@ -324,6 +324,8 @@
324
desc 'Fails if directories contain the files specified in .gitignore'
325
task :git_ignore do
326
matched = `git ls-files --ignored --exclude-standard --cached`
327
+ raise 'git ls-files failed' unless $CHILD_STATUS.success?
328
+
329
unless matched == ''
330
puts matched
331
raise 'File specified in .gitignore has been committed'
0 commit comments