File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,10 @@ jobs:
150150 if: ${{ matrix.os == 'ubuntu-latest' }}
151151 # ^^ only on one platform as wasteful otherwise
152152
153+ - run : if [ $(find ~/.pkgx -name .tmp\* -type d | wc -l) -gt 0 ]; then
154+ exit 1;
155+ fi
156+
153157 - name : generate coverage
154158 run : |
155159 cargo install rustfilt
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ where
103103
104104 // Step 5: atomically move from temp dir to installation location
105105 let partial_path = format ! ( "{}/v{}" , pkg. project, pkg. version. raw) ;
106- fs:: rename ( temp_dir. into_path ( ) . join ( & partial_path) , & dst_path) ?;
106+ fs:: rename ( temp_dir. path ( ) . join ( & partial_path) , & dst_path) ?;
107107
108108 let installation = Installation {
109109 path : dst_path,
You can’t perform that action at this time.
0 commit comments