mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-04 02:44:44 +00:00
minor fixes for node20 (#22894)
This commit is contained in:
@@ -73,8 +73,8 @@ jobs:
|
||||
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: '16.x'
|
||||
displayName: 'Install node.js 16.x'
|
||||
versionSpec: '20.x'
|
||||
displayName: 'Install node.js 20.x'
|
||||
condition: and(succeeded(), eq(variables['skipci'], 'false'))
|
||||
|
||||
- bash: |
|
||||
|
||||
@@ -18,7 +18,7 @@ try:
|
||||
except JsEvalError:
|
||||
doAssert false
|
||||
except JsSyntaxError as se:
|
||||
doAssert se.message == "Unexpected token ; in JSON at position 0"
|
||||
doAssert se.message == "Unexpected token ';', \";;\" is not valid JSON"
|
||||
except JsError as e:
|
||||
doAssert false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user