mirror of
https://github.com/inspec/inspec
synced 2025-03-08 01:07:42 +00:00
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>
4 lines
82 B
Ruby
4 lines
82 B
Ruby
# encoding: utf-8
|
|
# copyright: 2018, The Authors
|
|
|
|
include_controls 'invalid_name'
|