commit 0e9795b70afc0a2b4b787ef8e28f4f42f26ff495
parent 6f7bc33451d898076226b484fe76f5776010ec4f
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: Wed, 12 Jan 2022 22:34:02 -0600
fix tabs
I forgot here docs require tabs if offset
Diffstat:
M | npm | | | 20 | ++++++++++---------- |
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/npm b/npm
@@ -23,9 +23,9 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
master_check() {
- result=$("$core" -d .npmcheck <<-EOF
- $1
- EOF
+ result=$("$core" -d .npmcheck <<-EOF
+ $1
+ EOF
)
[ "$result" = "password" ]
}
@@ -71,10 +71,10 @@ pw_add() {
# however this is typically done using 'mkstemp()' which
# is more secure than '/proc'.
"$core" -e > "$name.npm" <<-EOF && \
- printf '%s\n' "Saved '$name' to the store."
- $master
- $pass
- EOF
+ printf '%s\n' "Saved '$name' to the store."
+ $master
+ $pass
+ EOF
}
pw_del() {
@@ -127,9 +127,9 @@ pw_init() {
sread master2 "Confirm master password"
[ "$master" = "$master2" ] || die "Passwords do not match"
$core -e > .npmcheck <<-EOF
- $master
- password
- EOF
+ $master
+ password
+ EOF
}
yn() {