Skip to content

Commit

Permalink
Enforce strict checks
Browse files Browse the repository at this point in the history
  • Loading branch information
egmacke committed Oct 11, 2022
1 parent 1e67f65 commit 6ab53c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8488,7 +8488,7 @@ const action = async () => {
}
};
action();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmaWxlOi8vL2hvbWUvZWdtYWNrZS93b3Jrc3BhY2UvYWN0aW9uLWNoZWNrLWxhYmVsL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHdDQUF3RTtBQUN4RSw0Q0FBc0Q7QUFFdEQsSUFBSyxLQUdKO0FBSEQsV0FBSyxLQUFLO0lBQ1IsNEJBQW1CLENBQUE7SUFDbkIsMEJBQWlCLENBQUE7QUFDbkIsQ0FBQyxFQUhJLEtBQUssS0FBTCxLQUFLLFFBR1Q7QUFFRCxNQUFNLE1BQU0sR0FBRyxLQUFLLElBQUksRUFBRTtJQUN4QixJQUFJO1FBRUYsTUFBTSxLQUFLLEdBQUcsSUFBQSxlQUFRLEVBQUMsT0FBTyxFQUFFLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBRSxDQUFDLENBQUM7UUFDcEQsTUFBTSxhQUFhLEdBQUcsSUFBQSxlQUFRLEVBQUMsT0FBTyxDQUFVLENBQUM7UUFDakQsTUFBTSxXQUFXLEdBQUcsSUFBQSxlQUFRLEVBQUMsY0FBYyxDQUFDLENBQUM7UUFDN0MsTUFBTSxDQUFDLEtBQUssRUFBRSxJQUFJLENBQUMsR0FBRyxJQUFBLGVBQVEsRUFBQyxNQUFNLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUM7UUFDbEQsTUFBTSxXQUFXLEd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nN0IHBhc3MgPSBhY3R1YWxTdGF0ZSA9PT0gcmVxdWlyZWRTdGF0ZTtcblxuICAgIHNldE91dHB1dChcInBhc3NcIiwgcGFzcyk7XG5cbiAgICBpZiAoIXBhc3MpIHtcbiAgICAgIGNvbnN0IG1lc3NhZ2UgPSBgTGFiZWwgJHtsYWJlbH0gd2FzIGV4cGVjdGVkIHRvIGJlICR7cmVxdWlyZWRTdGF0ZX0gYnV0IHdhcyAke2FjdHVhbFN0YXRlfWA7XG4gICAgICBpZiAoZmFpbE9uRXJyb3IpIHtcbiAgICAgICAgc2V0RmFpbGVkKG1lc3NhZ2UpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgd2FybmluZyhtZXNzYWdlKTtcbiAgICAgIH1cbiAgICB9XG4gIH0gY2F0Y2ggKGVycm9yKSB7XG4gICAgLy8gU29tZXRoaW5nIHdlbnQgdmVyeSB3cm9uZy5cbiAgICBzZXRGYWlsZWQoZXJyb3IgYXMgRXJyb3IpO1xuICB9XG59O1xuXG5hY3Rpb24oKTtcbiJdfQ==
})();

module.exports = __webpack_exports__;
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const action = async () => {
}
} catch (error) {
// Something went very wrong.
setFailed(error);
setFailed(error as Error);
}
};

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"inlineSources": true,
"inlineSourceMap": true,
"experimentalDecorators": true,
"strictNullChecks": true,
"strict": true,

"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
Expand Down

0 comments on commit 6ab53c8

Please sign in to comment.