agrs-sequelize-sdk 1.4.6 → 1.4.8
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/package.json +1 -1
- package/run.sh +2 -2
package/package.json
CHANGED
package/run.sh
CHANGED
|
@@ -117,8 +117,8 @@ if [[ $require_root_for_jq -eq 1 && $EUID -ne 0 ]]; then
|
|
|
117
117
|
fi
|
|
118
118
|
|
|
119
119
|
# Step 1: Check if logged in to NPM
|
|
120
|
-
npmUsername=$(npm whoami 2
|
|
121
|
-
if [[
|
|
120
|
+
npmUsername=$(npm whoami 2>/dev/null)
|
|
121
|
+
if [[ $? -ne 0 || -z "$npmUsername" ]]; then
|
|
122
122
|
echo "Not logged in. Please log in to NPM."
|
|
123
123
|
npm login
|
|
124
124
|
if [[ $? -ne 0 ]]; then
|