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.
13 lines
652 B
13 lines
652 B
![]()
4 years ago
|
---
|
||
|
source: tests/feature_tests/mod.rs
|
||
|
expression: "&source.trim()"
|
||
|
---
|
||
|
$ErrorActionPreference = "Stop"
|
||
|
fnm env | Out-String | Invoke-Expression
|
||
|
fnm install 11.10.0
|
||
|
fnm install 8.11.3
|
||
|
fnm alias 8.11.3 version8
|
||
|
$($__out__ = $(fnm ls | Select-String 'version8'); echo $__out__; if ($__out__ -eq $null){ exit 1 } else { $__out__ })
|
||
|
fnm unalias version8
|
||
|
$($__out__ = $($($_tmp_err_action = $ErrorActionPreference;$ErrorActionPreference = "Continue";fnm use version8 2>&1;$ErrorActionPreference = $_tmp_err_action) | Select-String 'Requested version version8 is not currently installed'); echo $__out__; if ($__out__ -eq $null){ exit 1 } else { $__out__ })
|