GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(pypi): gate empty-wiring guard on !keep_artifact for preserve-state · SocketDev/socket-patch@c7e80e8

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • crates/socket-patch-core/src/vendor
    • pypi.rs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎crates/socket-patch-core/src/vendor/pypi.rs‎

Copy file name to clipboardExpand all lines: crates/socket-patch-core/src/vendor/pypi.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ pub async fn revert_pypi_opts(
960960
dry_run,
961961
keep_artifact,
962962
} = opts;
963-
if entry.wiring.is_empty() {
963+
if !keep_artifact && entry.wiring.is_empty() {
964964
let uuid_dir_rel = vendor_uuid_dir_rel("pypi", &entry.uuid)
965965
.unwrap_or_else(|| format!(".socket/vendor/pypi/{:?}", entry.uuid));
966966
if let Some(blocked) =

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.