Method: Inspec::Profile#lockfile
- Defined in:
- lib/inspec/profile.rb
#lockfile ⇒ Object
505 506 507 508 509 510 511 |
# File 'lib/inspec/profile.rb', line 505 def lockfile @lockfile ||= if lockfile_exists? Inspec::Lockfile.from_content(@source_reader.target.read('inspec.lock')) else generate_lockfile end end |