File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 42
42
- name : Test for node version
43
43
shell : pwsh
44
44
run : |
45
- $image_node_version = (docker run --rm node:${{ matrix.version }}-${{ matrix.variant }} node --print "process.versions.node")
45
+ $image_node_version = (docker run --rm node:${{ matrix.version }}-${{ matrix.variant }} node --print "process.versions.node").Trim()
46
46
Write-Host "Expected: '${{ matrix.version }}', Got: '$image_node_version'"
47
47
if ($image_node_version -ne ${{ matrix.version }}) {
48
48
exit 1
92
92
- name : Test for node version
93
93
shell : pwsh
94
94
run : |
95
- $image_node_version = (docker run --rm node:${{ matrix.version }}-${{ matrix.variant }} node --print "process.versions.node")
95
+ $image_node_version = (docker run --rm node:${{ matrix.version }}-${{ matrix.variant }} node --print "process.versions.node").Trim()
96
96
Write-Host "Expected: '${{ matrix.version }}', Got: '$image_node_version'"
97
97
if ($image_node_version -ne ${{ matrix.version }}) {
98
98
exit 1
You can’t perform that action at this time.
0 commit comments