⬆️ pathwatcher@3.3

This commit is contained in:
Kevin Sawicki
2015-02-13 12:30:37 -08:00
parent c3ae0441b5
commit f7138e5190
2 changed files with 2 additions and 2 deletions

View File

@@ -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",

View File

@@ -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.