Skip to content

Commit d49bee0

Browse files
fix failures for other platforms
1 parent 8ad30f5 commit d49bee0

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/utils/fs.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,8 @@ impl Drop for TempFile {
111111

112112
if let Err(e) = result {
113113
error!(
114-
"Failed to open {} to flag for delete: {:?}",
115-
&self.path.display(),
116-
e
114+
"Failed to open {} to flag for delete: {e:?}",
115+
&self.path.display()
117116
);
118117
}
119118
}

tests/integration/_cases/build/build-upload-help-not-macos.trycmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Options:
3333
not provided, the current repository will be used.
3434
--quiet
3535
Do not print any output while preserving correct exit code. This flag is currently
36-
implemented only for selected subcommands. [aliases: silent]
36+
implemented only for selected subcommands. [aliases: --silent]
3737
--base-repo-name <base_repo_name>
3838
The name of the git repository to use for the upload (e.g. organization/repository). If
3939
not provided, the current repository will be used.

tests/integration/_cases/help/help-windows.trycmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Options:
4242
warn, error]
4343
--quiet Do not print any output while preserving correct exit code. This
4444
flag is currently implemented only for selected subcommands.
45-
[aliases: silent]
45+
[aliases: --silent]
4646
-h, --help Print help
4747
-V, --version Print version
4848

0 commit comments

Comments
 (0)