Skip to content

Commit 57b3666

Browse files
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 1251f87 commit 57b3666

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/init-action.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,7 @@ async function run(startedAt: Date) {
227227
let toolsVersion: string;
228228
let zstdAvailability: ZstdAvailability | undefined;
229229
let effectiveToolsInput: string | undefined;
230-
let effectiveToolsInputSource: EffectiveToolsInputSource =
231-
EffectiveToolsInputSource.None;
230+
let effectiveToolsInputSource: EffectiveToolsInputSource;
232231
let toolsRepoPropertyMode: ToolsModeRepositoryPropertyValue | undefined;
233232

234233
try {

src/setup-codeql-action.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ async function run(startedAt: Date): Promise<void> {
115115
let toolsSource: ToolsSource;
116116
let toolsVersion: string;
117117
let effectiveToolsInput: string | undefined;
118-
let effectiveToolsInputSource: EffectiveToolsInputSource =
119-
EffectiveToolsInputSource.None;
118+
let effectiveToolsInputSource: EffectiveToolsInputSource;
120119
let toolsRepoPropertyMode: ToolsModeRepositoryPropertyValue | undefined;
121120

122121
try {

0 commit comments

Comments
 (0)