Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit d5aa98c

Browse files
committed
disable --skip-linting for contract compilation
1 parent 719a78a commit d5aa98c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/sandbox/src/build_command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ fn build_execution_command() -> Vec<String> {
131131
"rm -rf {}/contract.* {}/metadata.json",
132132
target_dir, target_dir
133133
);
134-
let build_cmd = "cargo contract build --offline --skip-linting 2>&1".to_string();
134+
let build_cmd = "cargo contract build --offline 2>&1".to_string();
135135
let move_cmd = format!("mv {}/contract.contract {}", target_dir, DOCKER_OUTPUT);
136136

137137
let command = format!("{} && {} && {}", clean_cmd, build_cmd, move_cmd);

0 commit comments

Comments
 (0)