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`;