Skip to content

Commit 438113d

Browse files
committed
Remove unnecessary eslint-disable for Promise
Since Promise is defined globally on all supported Node versions. Signed-off-by: Kevin Locke <[email protected]>
1 parent b31fe9e commit 438113d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bin/git-branch-is.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ function collect(arg, args) {
4040
*/
4141
function gitBranchIsCmd(args, callback) {
4242
if (!callback && typeof Promise === 'function') {
43-
// eslint-disable-next-line no-undef
4443
return new Promise((resolve, reject) => {
4544
gitBranchIsCmd(args, (err, result) => {
4645
if (err) { reject(err); } else { resolve(result); }

0 commit comments

Comments
 (0)