Skip to content

Commit b6521c3

Browse files
authored
Update create-user
Fixed shellcheck to prevent globbing and splitting.
1 parent 151bb88 commit b6521c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

compose/bin/create-user

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ read -r -p "Last Name: " LASTNAME
99

1010
if [[ "$account_type" == [Aa] ]]; then
1111
bin/magento admin:user:create \
12-
--admin-user=${USERNAME} \
13-
--admin-password=${PASSWORD} \
14-
--admin-email=${EMAIL} \
15-
--admin-firstname=${FIRSTNAME} \
16-
--admin-lastname=${LASTNAME}
12+
--admin-user="${USERNAME}" \
13+
--admin-password="${PASSWORD}" \
14+
--admin-email="${EMAIL}" \
15+
--admin-firstname="${FIRSTNAME}" \
16+
--admin-lastname="${LASTNAME}"
1717
elif [[ "$account_type" == [Cc] ]]; then
1818
bin/n98-magerun2 customer:create "${EMAIL}" "${PASSWORD}" "${FIRSTNAME}" "${LASTNAME}"
1919
else

0 commit comments

Comments
 (0)