Method: Inspec::Profile#lockfile
- Defined in:
- lib/inspec/profile.rb
#lockfile ⇒ Object
392 393 394 395 396 397 398 |
# File 'lib/inspec/profile.rb', line 392 def lockfile @lockfile ||= if lockfile_exists? Inspec::Lockfile.from_content(@source_reader.target.read('inspec.lock')) else generate_lockfile end end |