You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
268 B

#!/bin/bash
set -e
eval $(fnm env --log-level=quiet)
INSTALL="$(fnm install v8.11.3 && fnm use v8.11.3 && fnm alias v8.11.3 something)"
OUTPUT="$INSTALL"
if [ "$OUTPUT" != "" ]; then
echo "Expected the output to be empty, instead got:"
echo $OUTPUT
exit 1
fi