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

Commit

Permalink
disable --skip-linting for contract compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
achimcc committed Nov 14, 2022
1 parent 719a78a commit d5aa98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sandbox/src/build_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fn build_execution_command() -> Vec<String> {
"rm -rf {}/contract.* {}/metadata.json",
target_dir, target_dir
);
let build_cmd = "cargo contract build --offline --skip-linting 2>&1".to_string();
let build_cmd = "cargo contract build --offline 2>&1".to_string();
let move_cmd = format!("mv {}/contract.contract {}", target_dir, DOCKER_OUTPUT);

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

0 comments on commit d5aa98c

Please sign in to comment.