Commit 00756ab
committed
fix(offline): sandbox GENRELEASES_DIR and clean up on failure
- Pin GENRELEASES_DIR to temp dir in scaffold_from_core_pack() so a
user-exported value cannot redirect output or cause rm -rf outside
the sandbox
- Clean up partial project directory on --offline scaffold failure
(same behavior as the GitHub-download failure path)1 parent 55c9bef commit 00756ab
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1262 | 1262 | | |
1263 | 1263 | | |
1264 | 1264 | | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
1265 | 1268 | | |
1266 | 1269 | | |
1267 | 1270 | | |
| |||
1990 | 1993 | | |
1991 | 1994 | | |
1992 | 1995 | | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
1993 | 1999 | | |
1994 | 2000 | | |
1995 | 2001 | | |
| |||
0 commit comments