class Bundler::Audit::Database
def last_updated_at
- Since: - 0.8.0
Returns:
-
(Time)
-
def last_updated_at if git? Dir.chdir(@path) do Time.parse(`git log --date=iso8601 --pretty="%cd" -1`) end else File.mtime(@path) end end
(Time)
-
def last_updated_at if git? Dir.chdir(@path) do Time.parse(`git log --date=iso8601 --pretty="%cd" -1`) end else File.mtime(@path) end end