We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3fe703 commit 687783fCopy full SHA for 687783f
1 file changed
src/git/cli.ts
@@ -3,11 +3,11 @@
3
*
4
* Run Git CLI commands within the extension and capture the text output.
5
*/
6
-import util = require("util");
7
-import childProcess = require("child_process");
+import { exec as _exec } from "child_process";
+import * as util from "util";
8
import { Repository } from "../api/git";
9
10
-const exec = util.promisify(childProcess.exec);
+const exec = util.promisify(_exec);
11
12
/**
13
* Run a `git` subcommand and return the result, with stdout and stderr available.
0 commit comments