@lowwattlabs/clawsec 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/clawsec.py +2 -2
- package/package.json +1 -1
package/cli/clawsec.py
CHANGED
|
@@ -102,13 +102,13 @@ def cmd_scan(args):
|
|
|
102
102
|
# If it looks like a slug, try to download from ClawHub
|
|
103
103
|
if is_slug(target):
|
|
104
104
|
if not json_mode:
|
|
105
|
-
print(f" {C}⚡ Downloading '{target}' from ClawHub...{RESET}")
|
|
105
|
+
print(f" {C}⚡ Downloading '{target}' from ClawHub...{RESET}", flush=True)
|
|
106
106
|
result = download_slug(target)
|
|
107
107
|
if result is None:
|
|
108
108
|
sys.exit(2)
|
|
109
109
|
target, cleanup_dir = result
|
|
110
110
|
if not json_mode:
|
|
111
|
-
print(f" {G}✓{RESET} Downloaded to {target}")
|
|
111
|
+
print(f" {G}✓{RESET} Downloaded to {target}", flush=True)
|
|
112
112
|
|
|
113
113
|
if not os.path.exists(target):
|
|
114
114
|
print(f"{R}Error:{RESET} '{args.target}' not found (not a local path and not a valid ClawHub slug)", file=sys.stderr)
|