From d9829e25e6f2b70bf71635b36cfbc0542914f9a5 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Wed, 27 Sep 2023 17:34:50 +1000 Subject: [PATCH] ci: run on latest stable version of Deno (#1820) This PR changes CI to include the latest stable version of Deno, alongside canary. This is important for picking up bugs in canary. This seems like a reasonable thing to have for overall stability. Possible prerequisite for #1819 --- .github/workflows/ci.yml | 2 +- src/server/code_frame.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e428224e..89e47af1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - deno: ["canary"] + deno: ["canary", "v1.x"] os: [macOS-latest, windows-latest, ubuntu-latest] include: - os: ubuntu-latest diff --git a/src/server/code_frame.ts b/src/server/code_frame.ts index fcd69180..6827dafc 100644 --- a/src/server/code_frame.ts +++ b/src/server/code_frame.ts @@ -63,7 +63,7 @@ export function createCodeFrame( (padding + (i + start + 1)).slice(-maxLineNum), ); - // Line where the error occured + // Line where the error occurred if (i === lineNum - start) { out += colors.red(">") + ` ${currentLine} ${sep} ${line}\n`;