Skip to content

Commit f3f67d9

Browse files
Attempting to generate an API error call via a testing attribute
1 parent 8a9c24c commit f3f67d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const fs = require('fs')
77

88
async function main() {
99
try {
10-
if(core.getInput("testing") === true)
10+
if(core.getInput("testing") === "true")
1111
throw new Error('API rate limit exceeded for installation ID xyz')
1212

1313
const token = core.getInput("github_token", { required: true })

0 commit comments

Comments
 (0)