Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/parse-legacy-file
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -eu -o pipefail
# shellcheck source=../lib/utils.sh
source "$(dirname "$0")/../lib/utils.sh"

resolve_version "$(cat "$1")"
resolve_version "$(head -n 1 "$1")"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make sure this only apply to .nvmrc? It shouldn't apply for other legacy version files (.node-version for now)