From d7ab4a7a3d2138c0bee419eec8894dfbfe6b672d Mon Sep 17 00:00:00 2001
From: eric sciple <ericsciple@users.noreply.github.com>
Date: Thu, 2 Jan 2020 14:14:01 -0500
Subject: [PATCH] .

---
 dist/index.js              | 2 +-
 src/git-command-manager.ts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dist/index.js b/dist/index.js
index e04155f..0e60e13 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -4888,7 +4888,7 @@ class GitCommandManager {
     isDetached() {
         return __awaiter(this, void 0, void 0, function* () {
             // Note, "branch --show-current" would be simpler but isn't available until Git 2.22
-            const output = yield this.execGit(['rev-parse', '--symbolic-full-nane', 'HEAD'], true);
+            const output = yield this.execGit(['rev-parse', '--symbolic-full-name', 'HEAD'], true);
             return !output.stdout.trim().startsWith('refs/heads/');
         });
     }
diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts
index bbf0878..0e75a86 100644
--- a/src/git-command-manager.ts
+++ b/src/git-command-manager.ts
@@ -172,7 +172,7 @@ class GitCommandManager {
   async isDetached(): Promise<boolean> {
     // Note, "branch --show-current" would be simpler but isn't available until Git 2.22
     const output = await this.execGit(
-      ['rev-parse', '--symbolic-full-nane', 'HEAD'],
+      ['rev-parse', '--symbolic-full-name', 'HEAD'],
       true
     )
     return !output.stdout.trim().startsWith('refs/heads/')