Skip to content

Commit

Permalink
fix: remove "Current" channel warning by specifying "STS" channel
Browse files Browse the repository at this point in the history
Fixing warning: 
dotnet_install: Warning: Value "Current" is deprecated for -Channel option. Use "STS" instead
  • Loading branch information
clintcparker committed Jul 31, 2023
1 parent be1cd7d commit 05bb284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ install_version() {
(
mkdir -p "$install_path"

"$ASDF_DOWNLOAD_PATH/dotnet-install.sh" --install-dir "$ASDF_INSTALL_PATH" --channel Current --version "$ASDF_INSTALL_VERSION" --no-path
"$ASDF_DOWNLOAD_PATH/dotnet-install.sh" --install-dir "$ASDF_INSTALL_PATH" --channel STS --version "$ASDF_INSTALL_VERSION" --no-path

local tool_cmd
tool_cmd="$(echo "$TOOL_TEST" | cut -d' ' -f1)"
Expand Down

0 comments on commit 05bb284

Please sign in to comment.