Skip to content

Commit 4ef0bf1

Browse files
committed
refactor: update cli.ts
1 parent 31dd666 commit 4ef0bf1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/git/cli.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ const exec = util.promisify(childProcess.exec);
1616
function _execute(cwd: string, subcommand: string, options: string[] = []) {
1717
const command = `git ${subcommand} ${options.join(" ")}`;
1818

19-
return exec(command, { cwd });
19+
const result = exec(command, { cwd });
20+
21+
return result;
2022
}
2123

2224
/**

0 commit comments

Comments
 (0)