From b22b999a63c76d819e8f1a7300c6a769f9220134 Mon Sep 17 00:00:00 2001 From: hampus-andersson-op Date: Mon, 22 Apr 2024 14:40:48 +0200 Subject: [PATCH] Spelling --- src/secretscanning/SecretScanningService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/secretscanning/SecretScanningService.ts b/src/secretscanning/SecretScanningService.ts index ac6ac132..b50eb0c8 100644 --- a/src/secretscanning/SecretScanningService.ts +++ b/src/secretscanning/SecretScanningService.ts @@ -42,7 +42,7 @@ export class SecretScanningService { title: 'Number of exposed secrets control failed', }); } else if (error.status === 404) { - if (error.message.splt('.')[0] === 'Secret scanning is disabled on this repository') { + if (error.message.split('.')[0] === 'Secret scanning is disabled on this repository') { core.warning(error.message, { title: 'Number of exposed secrets control failed', });