You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo'Getting list of `@stdlib` dependencies...'>&2
421
-
dependencies="$(
422
-
node list_stdlib_dependencies.js
423
-
)"
421
+
script="var pkg = require( '${package_json}' ); var keys = Object.keys( pkg.dependencies ); for ( var i = 0; i < keys.length; i++ ) { if ( /^@stdlib/.test( keys[ i ] ) ) { console.log( keys[ i ] ); } }"
422
+
dependencies="$(node -e "${script}")"
424
423
if [[ "$?"-ne 0 ]];then
425
424
echo''>&2
426
425
echo'Error: unexpected error. Encountered an error when getting list of `@stdlib` dependencies.'>&2
0 commit comments