Skip to content
Myr

[Tests] Source nvm.sh before defining FILE

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Magnus Markling · committed by Jordan Harband · parent f607f2f · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • tests:+2 added−1 removed

1 file+2 added−1 removed

modified:test/fast/Unit tests/nvm_get_default_packages+2 added-1 removed
1#!/bin/sh23FILE="$NVM_DIR/default-packages"3\. ../../../nvm.sh45FILE="$NVM_DIR/default-packages"67die () { echo "$@" ; cleanup ; exit 1; }8setup () {9 if [ -f $FILE ]; then10 ORIG_DEFAULT_PACKAGES=$(cat $FILE)
82 unmodified lines