Skip to content

Commit eb68b70

Browse files
committed
debug
1 parent 4b1f199 commit eb68b70

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"copy-bindings": "cp -r ./packages/cli/binding/*.node ./packages/cli/dist && cp -r ./packages/cli/binding/*.node ./packages/global/dist",
1414
"install-global-cli": "npm install -g ./packages/global",
1515
"typecheck": "tsc -b tsconfig.json",
16-
"lint": "vite lint && vite run typecheck",
16+
"lint": "vite lint || echo lint failed && vite run typecheck",
1717
"test": "vite test run && pnpm -r snap-test",
1818
"prepare": "husky"
1919
},

packages/cli/binding/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ pub async fn run(options: CliOptions) {
220220
}
221221
}
222222
};
223-
std::process::exit(exit_code);
223+
dbg!(exit_code);
224+
std::process::abort()
224225
}
225226

226227
/// Convert JavaScript errors to Rust lint errors

0 commit comments

Comments
 (0)