| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0cff089 commit 9f5a9ca
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -116,10 +116,7 @@ fse.remove(path.resolve(__dirname, repoDir)) | |||
| 116 | 116 | // the repository instead of just writing it. | |
| 117 | 117 | .then(function(index) { | |
| 118 | 118 | if (!index.hasConflicts()) { | |
| 119 | - return index.write() | ||
| 120 | - .then(function() { | ||
| 121 | - return index.writeTreeTo(repository); | ||
| 122 | - }); | ||
| 119 | + return index.writeTreeTo(repository); | ||
| 123 | 120 | } | |
| 124 | 121 | }) | |
| 125 | 122 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments