From 33902d8b2cf74f0efafa0453680021df54bd071d Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Tue, 23 Jul 2024 14:23:07 +0200 Subject: [PATCH] Fix linting errors --- lib/doc-url.js.map | 2 +- src/autobuild.ts | 2 +- src/doc-url.ts | 20 +++++++------------- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/lib/doc-url.js.map b/lib/doc-url.js.map index daad49e183..7864174bf2 100644 --- a/lib/doc-url.js.map +++ b/lib/doc-url.js.map @@ -1 +1 @@ -{"version":3,"file":"doc-url.js","sourceRoot":"","sources":["../src/doc-url.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,IAAY,MAaX;AAbD,WAAY,MAAM;IACd,uHACiF,CAAA;IACjF,gJACiH,CAAA;IACjH,yJAC4H,CAAA;IAC5H,qMAC4K,CAAA;IAC5K,gOAC2L,CAAA;IAC3L,2PAC4M,CAAA;AAChN,CAAC,EAbW,MAAM,sBAAN,MAAM,QAajB"} \ No newline at end of file +{"version":3,"file":"doc-url.js","sourceRoot":"","sources":["../src/doc-url.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,uHAA6G,CAAA;IAC7G,gJAAsI,CAAA;IACtI,yJAA+I,CAAA;IAC/I,qMAA2L,CAAA;IAC3L,gOAAsN,CAAA;IACtN,2PAAiP,CAAA;AACnP,CAAC,EAPW,MAAM,sBAAN,MAAM,QAOjB"} \ No newline at end of file diff --git a/src/autobuild.ts b/src/autobuild.ts index 6eee29831a..5cb5d0d14d 100644 --- a/src/autobuild.ts +++ b/src/autobuild.ts @@ -103,7 +103,7 @@ export async function determineAutobuildLanguages( .join( " and ", )}, you must replace the autobuild step of your workflow with custom build steps. ` + - `See ${DocUrl.SPECIFY_BUILD_STEPS_MANUALLY} for more information.` + `See ${DocUrl.SPECIFY_BUILD_STEPS_MANUALLY} for more information.`, ); } diff --git a/src/doc-url.ts b/src/doc-url.ts index 4edf6afe40..77431e1c4a 100644 --- a/src/doc-url.ts +++ b/src/doc-url.ts @@ -3,16 +3,10 @@ */ export enum DocUrl { - ASSIGNING_PERMISSIONS_TO_JOBS = - "https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs", - AUTOMATIC_BUILD_FAILED = - "https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/automatic-build-failed", - DEFINE_ENV_VARIABLES = - "https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow", - SCANNING_ON_PUSH = - "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#scanning-on-push", - SPECIFY_BUILD_STEPS_MANUALLY = - "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#about-specifying-build-steps-manually", - TRACK_CODE_SCANNING_ALERTS_ACROSS_RUNS = - "https://docs.github.com/en/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#providing-data-to-track-code-scanning-alerts-across-runs" -} \ No newline at end of file + ASSIGNING_PERMISSIONS_TO_JOBS = "https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs", + AUTOMATIC_BUILD_FAILED = "https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/automatic-build-failed", + DEFINE_ENV_VARIABLES = "https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow", + SCANNING_ON_PUSH = "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#scanning-on-push", + SPECIFY_BUILD_STEPS_MANUALLY = "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#about-specifying-build-steps-manually", + TRACK_CODE_SCANNING_ALERTS_ACROSS_RUNS = "https://docs.github.com/en/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#providing-data-to-track-code-scanning-alerts-across-runs", +}