[Ubuntu] Change source of n tool to official (#4455)

This commit is contained in:
Nikolay Frolov
2021-11-11 12:47:29 +03:00
committed by GitHub
parent 206a818319
commit 71b8207a59
3 changed files with 8 additions and 3 deletions

View File

@@ -170,6 +170,11 @@ function Get-NewmanVersion {
return "Newman $(newman --version)"
}
function Get-NVersion {
$nVersion = (n --version).Replace('v', '')
return "n $nVersion"
}
function Get-NvmVersion {
$nvmVersion = bash -c "source /etc/skel/.nvm/nvm.sh && nvm --version"
return "nvm $nvmVersion"