Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit a5ce4e1

Browse files
committed
Remove unused variable
1 parent 495078c commit a5ce4e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/git-shell-out-strategy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ export default class GitShellOutStrategy {
117117

118118
if (execPathPromise === null) {
119119
// Attempt to collect the --exec-path from a native git installation.
120-
execPathPromise = new Promise((resolve, reject) => {
121-
childProcess.exec('git --exec-path', (error, stdout, stderr) => {
120+
execPathPromise = new Promise(resolve => {
121+
childProcess.exec('git --exec-path', (error, stdout) => {
122122
/* istanbul ignore if */
123123
if (error) {
124124
// Oh well

0 commit comments

Comments
 (0)