Method: Inspec::Profile#lockfile
- Defined in:
- lib/inspec/profile.rb
#lockfile ⇒ Object
362 363 364 365 366 367 368 |
# File 'lib/inspec/profile.rb', line 362 def lockfile @lockfile ||= if lockfile_exists? Inspec::Lockfile.from_content(@source_reader.target.read('inspec.lock')) else generate_lockfile end end |