mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
⬆️ pathwatcher@3.3
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
"nslog": "^2.0.0",
|
||||
"oniguruma": "^4.0.0",
|
||||
"optimist": "0.4.0",
|
||||
"pathwatcher": "^3.1.1",
|
||||
"pathwatcher": "^3.3",
|
||||
"property-accessors": "^1.1.3",
|
||||
"q": "^1.1.2",
|
||||
"random-words": "0.0.1",
|
||||
|
||||
@@ -27,7 +27,7 @@ isValidGitDirectorySync = (directory) ->
|
||||
# the heuristic adopted by the valid_repository_path() function defined in
|
||||
# node_modules/git-utils/deps/libgit2/src/repository.c.
|
||||
return directoryExistsSync(directory.getSubdirectory('objects')) and
|
||||
directory.getFile('HEAD').exists() and
|
||||
directory.getFile('HEAD').existsSync() and
|
||||
directoryExistsSync(directory.getSubdirectory('refs'))
|
||||
|
||||
# Returns a boolean indicating whether the specified directory exists.
|
||||
|
||||
Reference in New Issue
Block a user