Answer security round 1: 0 🔴, 0 🟡 (0 misread); keep a file name with a space whole in self-update, sort its imports and name its path as <clone>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
usage: self-update
|
||||
|
||||
Run it by its path in a clone of a release, as in ~/.claude/bin/self-update. It fetches origin's
|
||||
Run it by its path in a clone of a release, as in <clone>/bin/self-update. It fetches origin's
|
||||
tags and checks out the newest v* tag, detached, so the clone holds only what a release holds.
|
||||
Development happens in another clone, such as ~/code/claude-config. It prints the version it moved
|
||||
from and to, then CHANGELOG.md's section for each version since, so you can do what each asks, such
|
||||
@@ -19,8 +19,8 @@ memory, stay as they are.
|
||||
import sys
|
||||
|
||||
from failure import Failure
|
||||
from loop_state.paths import RELEASE_ROOT
|
||||
from self_update.move import moved_to_newest
|
||||
from loop_state.paths import RELEASE_ROOT
|
||||
|
||||
|
||||
def main(argv: list[str], clone: str = str(RELEASE_ROOT)) -> int:
|
||||
|
||||
Reference in New Issue
Block a user