This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
inspec
Watch
2
Star
0
Fork
You've already forked inspec
0
mirror of
https://github.com/inspec/inspec
synced
2024-12-23 03:23:27 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
44a8480a49
inspec
/
test
/
unit
/
mock
/
profiles
/
invalid-include-controls
/
controls
/
example.rb
4 lines
67 B
Ruby
Raw
Normal View
History
Unescape
Escape
Fix `undefined method` error from `inspec check` This changes the error message from using a bad reference in `include_controls` from: ``` NoMethodError: undefined method `profile' for nil:NilClass ``` To one detailing that the profile cannot be loaded since it isn't listed as a dependency. Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-30 06:36:27 +00:00
# copyright: 2018, The Authors
Respond to feedback Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-30 17:26:04 +00:00
include_controls
'no_such_profile'
Reference in a new issue
Copy permalink