Merge pull request #483 from chef/chris-rock/fix-cc-upload

fix cc upload
This commit is contained in:
Dominik Richter 2016-02-22 21:16:59 +01:00
commit a47026223b

View file

@ -57,7 +57,7 @@ module Compliance
o = options.dup
configure_logger(o)
# check the profile, we only allow to upload valid profiles
profile = Inspec::Profile.from_path(path, o)
profile = Inspec::Profile.for_target(path, o)
# start verification process
error_count = 0