Skip to content

Commit c57b3c1

Browse files
committed
fix: change choco download snippets to use package, and specify full version in arg
1 parent 663cb52 commit c57b3c1

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

apps/site/snippets/en/download/choco.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
33

44
# Download and install Node.js:
5-
choco install nodejs-lts --version="${props.release.major}"
5+
choco install nodejs --version="${props.release.version}"
66

77
# Verify the Node.js version:
88
node -v # Should print "${props.release.versionWithPrefix}".

apps/site/snippets/es/download/choco.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
33

44
# Descarga e instala Node.js:
5-
choco install nodejs-lts --version="${props.release.major}"
5+
choco install nodejs --version="${props.release.version}"
66

77
# Verifica la versión de Node.js:
88
node -v # Debería mostrar "${props.release.versionWithPrefix}".

apps/site/snippets/fr/download/choco.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
33

44
# Télécharger et installer Node.js :
5-
choco install nodejs-lts --version="${props.release.major}"
5+
choco install nodejs --version="${props.release.version}"
66

77
# Vérifier la version de Node.js :
88
node -v # Doit afficher "${props.release.versionWithPrefix}".

apps/site/snippets/id/download/choco.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
33

44
# Unduh dan pasang Node.js:
5-
choco install nodejs-lts --version="${props.release.major}"
5+
choco install nodejs --version="${props.release.version}"
66

77
# Verifikasi versi Node.js:
88
node -v # Harus mencetak "${props.release.versionWithPrefix}".

apps/site/snippets/ja/download/choco.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
33

44
# Node.jsをダウンロードしてインストールする:
5-
choco install nodejs-lts --version="${props.release.major}"
5+
choco install nodejs --version="${props.release.version}"
66

77
# Node.jsのバージョンを確認する:
88
node -v # "${props.release.versionWithPrefix}"が表示される。

apps/site/snippets/ko/download/choco.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
33

44
# Node.js 다운로드 및 설치:
5-
choco install nodejs-lts --version="${props.release.major}"
5+
choco install nodejs --version="${props.release.version}"
66

77
# Node.js 버전 확인:
88
node -v # "${props.release.versionWithPrefix}"가 출력되어야 합니다.

apps/site/snippets/pt/download/choco.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
33

44
# Descarregar e instalar a Node.js:
5-
choco install nodejs-lts --version="${props.release.major}"
5+
choco install nodejs --version="${props.release.version}"
66

77
# Consultar a versão da Node.js:
88
node -v # Deveria imprimir "${props.release.versionWithPrefix}".

apps/site/snippets/uk/download/choco.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
33

44
# Завантажує й установлює Node.js:
5-
choco install nodejs-lts --version="${props.release.major}"
5+
choco install nodejs --version="${props.release.version}"
66

77
# Перевіряє версію Node.js:
88
node -v # Повинно вивести «${props.release.versionWithPrefix}».

apps/site/snippets/zh-tw/download/choco.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
33

44
# 下載並安裝 Node.js:
5-
choco install nodejs-lts --version="${props.release.major}"
5+
choco install nodejs --version="${props.release.version}"
66

77
# 核對 Node.js 版本:
88
node -v # 應會印出 "${props.release.versionWithPrefix}"。

0 commit comments

Comments
 (0)