Skip to content

Commit

Permalink
Merge pull request #253 from inspec/remove_vendor
Browse files Browse the repository at this point in the history
Remove left-over folder created at `rake lint` task
  • Loading branch information
rmoles authored Jun 18, 2020
2 parents 8c9275e + 6a46b1e commit 1852c25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ namespace :syntax do
desc 'InSpec syntax check'
task :inspec do
puts '-> Checking Inspec Control Syntax'
stdout, status = Open3.capture2("./bin/inspec vendor #{INTEGRATION_DIR} --overwrite &&
./bin/inspec check #{INTEGRATION_DIR} &&
./bin/inspec check .")
stdout, status = Open3.capture2("bundle exec inspec vendor #{INTEGRATION_DIR} --overwrite &&
bundle exec inspec check #{INTEGRATION_DIR} &&
bundle exec inspec check . && rm -rf #{INTEGRATION_DIR}/vendor")
puts stdout

%w{errors}.each do |type|
Expand Down

0 comments on commit 1852c25

Please sign in to comment.