Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Nowak-Liebiediew committed Nov 21, 2023
1 parent ff4870c commit 4ccdc9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions e2e/tests-dfx/extension.bash
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ EOF
"build": "echo the wasm-utils canister is prebuilt",
"candid": "{{canister_name}}.did",
"wasm": "{{canister_name}}.wasm",
"gzip": false
"gzip": true
}
}
}
Expand All @@ -259,8 +259,7 @@ EOF
{
"canisters": {
"wasm-utils": {
"type": "playground",
"gzip": true
"type": "playground"
}
},
"defaults": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ impl CustomCanisterTypeDeclaration {
// Override custom canister declaration values by the real canister_declaration
// see: https://github.com/dfinity/sdk/pull/3222#issuecomment-1624073606
let skip_keys = ["type", "canister_name"].map(String::from);
for (key, value) in values.iter().filter(|(k, _)| !skip_keys.contains(&k)) {
for (key, value) in values.iter().filter(|(k, _)| !skip_keys.contains(k)) {
final_fields.insert(key.clone(), value.clone());
}
Ok(final_fields)
Expand Down

0 comments on commit 4ccdc9e

Please sign in to comment.