mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Remove redudant await
This commit is contained in:
@@ -141,7 +141,7 @@ async function isValidGitDirectory(directory) {
|
||||
return (
|
||||
(await directory.getFile('HEAD').exists()) &&
|
||||
(await commonDir.getSubdirectory('objects').exists()) &&
|
||||
await commonDir.getSubdirectory('refs').exists()
|
||||
commonDir.getSubdirectory('refs').exists()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user