mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-03 14:45:49 +00:00
fix: address pre-push pnpm review findings
This commit is contained in:
1 parent
03b441792e
commit
b48f22f08c
2 files changed
+24
-19
No files matched your search
Regular → Executable
+2
@@ -62,6 +62,8 @@ has_node_script() {
|
||||
|
||||
run_pnpm() {
|
||||
if command -v corepack >/dev/null 2>&1; then
|
||||
# Corepack may download the pinned pnpm version on a cache miss. Set
|
||||
# COREPACK_ENABLE_NETWORK=0 to make an offline cache miss fail immediately.
|
||||
corepack pnpm "$@"
|
||||
elif command -v pnpm >/dev/null 2>&1; then
|
||||
pnpm "$@"
|
||||
|
||||
Reference in new issue
Block a user