lib/git/lint/analyzers/commit_subject_prefix.rb in git-lint-3.3.2 vs lib/git/lint/analyzers/commit_subject_prefix.rb in git-lint-4.0.0
- old
+ new
@@ -22,10 +22,10 @@
def load_filter_list = Kit::FilterList.new(settings.includes)
def locally_prefixed? = !ci? && commit.prefix?
- def ci? = container[:environment]["CI"] == "true"
+ def ci? = environment["CI"] == "true"
end
end
end
end