Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CI: Change conclusion getter
[releng/global-jjb.git]
/
shell
/
npm-config.sh
diff --git
a/shell/npm-config.sh
b/shell/npm-config.sh
index
9684502
..
06bf5d1
100644
(file)
--- a/
shell/npm-config.sh
+++ b/
shell/npm-config.sh
@@
-39,14
+39,12
@@
do_config() {
USER=$(echo "$CREDENTIAL" | cut -f1 -d:)
PASS=$(echo "$CREDENTIAL" | cut -f2 -d:)
USER=$(echo "$CREDENTIAL" | cut -f1 -d:)
PASS=$(echo "$CREDENTIAL" | cut -f2 -d:)
- if [ -z "$USER" ]
- then
+ if [ -z "$USER" ]; then
echo "ERROR: No user provided"
return 1
fi
echo "ERROR: No user provided"
return 1
fi
- if [ -z "$PASS" ]
- then
+ if [ -z "$PASS" ]; then
echo "ERROR: No password provided"
return 1
fi
echo "ERROR: No password provided"
return 1
fi