Skip to content

Commit c9bff29

Browse files
committed
Tweak safe npm error message
1 parent fec1b7a commit c9bff29

File tree

1 file changed

+2
-2
lines changed
  • src/shadow/npm/arborist/lib/arborist

1 file changed

+2
-2
lines changed

src/shadow/npm/arborist/lib/arborist/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ export class SafeArborist extends Arborist {
132132
throw new Error(
133133
stripIndents`
134134
Socket ${binName} exiting due to risks.
135-
To view all risks rerun with environment variable ${SOCKET_CLI_VIEW_ALL_RISKS}=1.
136-
To accept risks rerun with environment variable ${SOCKET_CLI_ACCEPT_RISKS}=1.
135+
View all risks - Rerun with environment variable ${SOCKET_CLI_VIEW_ALL_RISKS}=1.
136+
Accept risks - Rerun with environment variable ${SOCKET_CLI_ACCEPT_RISKS}=1.
137137
`
138138
)
139139
} else {

0 commit comments

Comments
 (0)