Fix config implementation

This commit is contained in:
Justin Hutchings
2024-03-04 18:17:53 +00:00
parent ea64ae9d4d
commit 2fcc6a1c72
3 changed files with 5 additions and 3 deletions

3
dist/index.js generated vendored
View File

@@ -49715,7 +49715,8 @@ function readInlineConfig() {
comment_summary_in_pr,
retry_on_snapshot_warnings,
retry_on_snapshot_warnings_timeout,
warn_only
warn_only,
show_openssf_scorecard
};
return Object.fromEntries(Object.entries(keys).filter(([_, value]) => value !== undefined));
}

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -70,7 +70,8 @@ function readInlineConfig(): ConfigurationOptionsPartial {
comment_summary_in_pr,
retry_on_snapshot_warnings,
retry_on_snapshot_warnings_timeout,
warn_only
warn_only,
show_openssf_scorecard
}
return Object.fromEntries(