File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -288,14 +288,20 @@ async function updatePackageLockFile() {
288288 lockJson . name = SOCKET_SECURITY_CLI
289289 rootPkg . name = SOCKET_SECURITY_CLI
290290 rootPkg . bin = toSortedObject ( {
291- cli : bin . socket ,
291+ [ CLI ] : bin [ SOCKET ] ,
292292 ...bin
293293 } )
294294 }
295295 // Lazily access constants.ENV[SOCKET_CLI_SENTRY_BUILD].
296296 else if ( constants . ENV [ SOCKET_CLI_SENTRY_BUILD ] ) {
297297 lockJson . name = SOCKET_SECURITY_CLI_WITH_SENTRY
298298 rootPkg . name = SOCKET_SECURITY_CLI_WITH_SENTRY
299+ rootPkg . bin = {
300+ [ CLI_WITH_SENTRY ] : bin [ SOCKET ] ,
301+ [ SOCKET_WITH_SENTRY ] : bin [ SOCKET ] ,
302+ [ SOCKET_NPM_WITH_SENTRY ] : bin [ SOCKET_NPM ] ,
303+ [ SOCKET_NPX_WITH_SENTRY ] : bin [ SOCKET_NPX ]
304+ }
299305 rootPkg . dependencies = toSortedObject ( {
300306 ...dependencies ,
301307 [ SENTRY_NODE ] : ( await getSentryManifest ( ) ) . version
You can’t perform that action at this time.
0 commit comments