Skip to content

Commit 95c73ac

Browse files
committed
check only changes
1 parent 8dea3d4 commit 95c73ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"test": "node scripts/ciTest.js -all",
2121
"test-bsb": "node scripts/ciTest.js -bsb",
2222
"test-ocaml": "node scripts/ciTest.js -ounit",
23-
"format": "biome format --changed --write .",
23+
"format": "biome format --changed --no-errors-on-unmatched --write .",
2424
"format:all": "biome format --write .",
25-
"checkFormat": "biome format --changed .",
25+
"checkFormat": "biome format --changed --no-errors-on-unmatched .",
2626
"checkFormat:all": "biome format .",
2727
"coverage": "nyc --timeout=3000 --reporter=html mocha jscomp/test/*test.js && open ./coverage/index.html"
2828
},

scripts/ciTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if (process.argv.includes("-all")) {
3737

3838
async function runTests() {
3939
if (formatTest) {
40-
cp.execSync("npm run checkFormat:all", {
40+
cp.execSync("npm run checkFormat", {
4141
cwd: path.join(__dirname, ".."),
4242
stdio: [0, 1, 2],
4343
});

0 commit comments

Comments
 (0)