class Bundler::Audit::Database

def commit_id

Other tags:
    Since: - 0.9.0

Returns:
  • (String, nil) -
def commit_id
  if git?
    Dir.chdir(@path) do
      `git rev-parse HEAD`.chomp
    end
  end
end