We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4730d5 commit 3a2c940Copy full SHA for 3a2c940
2 files changed
.github/workflows/ci.yml
@@ -150,6 +150,10 @@ jobs:
150
if: ${{ matrix.os == 'ubuntu-latest' }}
151
# ^^ only on one platform as wasteful otherwise
152
153
+ - run: if [ $(find ~/.pkgx -name .tmp\* -type d | wc -l) -gt 0 ]; then
154
+ exit 1;
155
+ fi
156
+
157
- name: generate coverage
158
run: |
159
cargo install rustfilt
crates/lib/src/install.rs
@@ -103,7 +103,7 @@ where
103
104
// Step 5: atomically move from temp dir to installation location
105
let partial_path = format!("{}/v{}", pkg.project, pkg.version.raw);
106
- fs::rename(temp_dir.into_path().join(&partial_path), &dst_path)?;
+ fs::rename(temp_dir.path().join(&partial_path), &dst_path)?;
107
108
let installation = Installation {
109
path: dst_path,
0 commit comments