Skip to content

Commit 6f1014a

Browse files
Merge pull request #409 from technote-space/release/next-v5.3.1
release: v5.3.2
2 parents 1334d36 + 9afef71 commit 6f1014a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@technote-space/github-action-helper",
3-
"version": "5.3.1",
3+
"version": "5.3.2",
44
"description": "Helper for GitHub Action.",
55
"keywords": [
66
"github",

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export const isCommandDebug = (): boolean => getInput('UTILS_COMMAND_DEBUG') ===
258258
export const isOutputDebug = (): boolean => getInput('UTILS_OUTPUT_DEBUG') === 'true' || process.env.UTILS_OUTPUT_DEBUG === 'true';
259259

260260
// eslint-disable-next-line @typescript-eslint/no-explicit-any
261-
export const objectGet = <T>(value: { [key: string]: any } | undefined | null, key: string, defaultValue?: T): T | undefined => {
261+
export const objectGet = <T>(value: Record<string, any> | undefined | null, key: string, defaultValue?: T): T | undefined => {
262262
const keys = key.split('.');
263263

264264
if (!keys.length || !value || !(keys[0] in value)) {

0 commit comments

Comments
 (0)