Skip to content

Commit e505ea3

Browse files
committed
inline checkFormat
1 parent 65b470f commit e505ea3

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

scripts/ciTest.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,13 @@ function runTests() {
153153
}
154154

155155
if (formatTest) {
156-
checkFormat();
156+
cp.execSync("npm run checkFormat", {
157+
cwd: path.join(__dirname, ".."),
158+
stdio: [0, 1, 2],
159+
});
157160
}
158161
}
159162

160-
function checkFormat() {
161-
cp.execSync("npm run checkFormat", {
162-
cwd: path.join(__dirname, ".."),
163-
stdio: [0, 1, 2],
164-
});
165-
}
166-
167163
function main() {
168164
try {
169165
init();

0 commit comments

Comments
 (0)