Skip to content

Commit 703ac17

Browse files
dependabot[bot]Virv12
authored andcommitted
Bump tempfile from 3.19.1 to 3.20.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.19.1 to 3.20.0. - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](Stebalien/tempfile@v3.19.1...v3.20.0) --- updated-dependencies: - dependency-name: tempfile dependency-version: 3.20.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent 485cb7a commit 703ac17

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ shell-words = "1.1"
8282
speculoos = "0.11"
8383
supports-color = "2"
8484
tabox = "1"
85-
tempfile = "3.19"
85+
tempfile = "3.20"
8686
termcolor = "1"
8787
termion = "4"
8888
thiserror = "2.0"

task-maker-exec/src/sandbox.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ impl Drop for SandboxData {
591591
fn drop(&mut self) {
592592
if self.keep_sandbox {
593593
// this will unwrap the directory, dropping the `TempDir` without deleting the directory
594-
self.boxdir.take().map(TempDir::into_path);
594+
self.boxdir.take().map(TempDir::keep);
595595
} else if Sandbox::set_permissions(&self.path().join("box"), 0o700).is_err() {
596596
warn!("Cannot 'chmod 700' the sandbox directory");
597597
}

0 commit comments

Comments
 (0)