Merge pull request #323 from kimmobrunfeldt/master
Use File.exist over deprecated File.exists
This commit is contained in:
@@ -88,7 +88,7 @@ puts "%s#%s On branch: %s#{@branch}#{difference}%s %s| [%s*%s]%s => $#{ENV["gi
|
|||||||
]
|
]
|
||||||
|
|
||||||
def has_modules?
|
def has_modules?
|
||||||
@has_modules ||= File.exists?(File.join(@project_root, '.gitmodules'))
|
@has_modules ||= File.exist?(File.join(@project_root, '.gitmodules'))
|
||||||
end
|
end
|
||||||
|
|
||||||
# Index modification states
|
# Index modification states
|
||||||
|
|||||||
Reference in New Issue
Block a user