Merge pull request #323 from kimmobrunfeldt/master

Use File.exist over deprecated File.exists
This commit is contained in:
Will Owens
2023-01-13 05:57:51 -05:00
committed by GitHub

View File

@@ -88,7 +88,7 @@ puts "%s#%s On branch: %s#{@branch}#{difference}%s %s| [%s*%s]%s => $#{ENV["gi
]
def has_modules?
@has_modules ||= File.exists?(File.join(@project_root, '.gitmodules'))
@has_modules ||= File.exist?(File.join(@project_root, '.gitmodules'))
end
# Index modification states