Skip to content

Commit 3e6708d

Browse files
committed
Fix-a-lint
Signed-off-by: Lann Martin <[email protected]>
1 parent ef5be93 commit 3e6708d

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

crates/trigger/src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ impl<T: Trigger> TriggerAppBuilder<T> {
312312
let use_gpu = true;
313313
let state_dir = match options.state_dir {
314314
// Make sure `--state-dir=""` unsets the state dir
315-
Some(s) if s.trim().is_empty() => None,
315+
Some("") => None,
316316
Some(s) => Some(PathBuf::from(s)),
317317
// Default to `.spin/` in the local app dir
318318
None => options.local_app_dir.map(|d| Path::new(d).join(".spin")),

examples/spin-timer/Cargo.lock

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)