File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 $tmp_file = New-TemporaryFile
5555 "console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
5656 $dockerPath = $tmp_file.FullName.Replace('\', '/')
57- $output = (docker run --rm -v "$dockerPath:/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
57+ $output = (docker run --rm -v "${ dockerPath} :/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
5858 if ($output -ne 'success') {
5959 exit 1
6060 }
@@ -105,7 +105,7 @@ jobs:
105105 $tmp_file = New-TemporaryFile
106106 "console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
107107 $dockerPath = $tmp_file.FullName.Replace('\', '/')
108- $output = (docker run --rm -v "$dockerPath:/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
108+ $output = (docker run --rm -v "${ dockerPath} :/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
109109 if ($output -ne 'success') {
110110 exit 1
111111 }
You can’t perform that action at this time.
0 commit comments