Skip to content

Commit 82e9cba

Browse files
feat: check bindgen --no to prevent install
1 parent 9b6afa3 commit 82e9cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/build.rust.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const checkBindgen = async (): Promise<{valid: boolean}> => {
6262

6363
const {valid} = await checkToolInstalled({
6464
command,
65-
args: ['icp-bindgen', '--version']
65+
args: ['icp-bindgen', '--version', ...(command === 'npx' ? ['--no'] : [])]
6666
});
6767

6868
if (valid === false) {

0 commit comments

Comments
 (0)