Skip to content

Commit 34ab146

Browse files
committed
chore: inline variable
1 parent 06fe824 commit 34ab146

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/utils/tsc.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import util from "util";
33
const exec = util.promisify(require("child_process").exec);
44

55
export async function typecheck(pathToIndex: string) {
6-
const cmd = `tsc ${pathToIndex} --noEmit`;
7-
await exec(cmd, {
6+
await exec(`tsc ${pathToIndex} --noEmit`, {
87
env: process.env,
98
});
109
}

0 commit comments

Comments
 (0)