We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4998bf commit 2eab554Copy full SHA for 2eab554
crates/factors-test/src/lib.rs
@@ -102,7 +102,7 @@ pub async fn build_locked_app(manifest: &toml::Table) -> anyhow::Result<LockedAp
102
let toml_str = toml::to_string(manifest).context("failed serializing manifest")?;
103
let dir = tempfile::tempdir().context("failed creating tempdir")?;
104
// `foo` variable is set to require. As we're not providing a default value, env is checked.
105
- _ = std::env::set_var(env_key(None, "foo"), "baz");
+ std::env::set_var(env_key(None, "foo"), "baz");
106
let path = dir.path().join("spin.toml");
107
std::fs::write(&path, toml_str).context("failed writing manifest")?;
108
spin_loader::from_file(&path, FilesMountStrategy::Direct, None).await
0 commit comments