Skip to content

Commit

Permalink
Reverted debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvocke committed Aug 30, 2024
1 parent 29a1e1a commit 3ee228c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup/dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion setup/lib/setup-setops.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async function run() {
const githubToken = core.getInput('github_token');

if ((loginUsername || loginPassword || loginOrganization) && !(loginUsername && loginPassword && loginOrganization)) {
const errorMsg = `When providing setops_username, setops_password or setops_organization, all of them must be set. length(loginUsername): ${loginUsername.length}, length(loginUsername): ${loginPassword.length}, length(loginOrganization): ${loginOrganization.length} `
const errorMsg = 'When providing setops_username, setops_password or setops_organization, all of them must be set.'
const dependabotHint = '\nThis run was triggered by Dependabot. If you want to grant Dependabot access to your SetOps credentials, add them to the dedicated Dependabot Secrets in the repository settings.'
throw new Error(errorMsg + (triggeredByDependabot ? dependabotHint : ''));
}
Expand Down

0 comments on commit 3ee228c

Please sign in to comment.