fix cc upload

This commit is contained in:
Christoph Hartmann 2016-02-22 21:11:49 +01:00
parent 60bdfcbb21
commit 9ea68471e5

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