Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
hampus-andersson-op committed Apr 22, 2024
1 parent be62d35 commit b22b999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/secretscanning/SecretScanningService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
});
Expand Down

0 comments on commit b22b999

Please sign in to comment.