Skip to content

Commit 41d5a06

Browse files
committed
Address basic style comments
1 parent 4ca0628 commit 41d5a06

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

pr-checks/sync.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,9 @@ function main(): void {
195195
}
196196
}
197197

198-
let useAllPlatformBundle = "false"; // Default to false
199-
if (checkSpecification.useAllPlatformBundle) {
200-
useAllPlatformBundle = checkSpecification.useAllPlatformBundle;
201-
}
198+
const useAllPlatformBundle = checkSpecification.useAllPlatformBundle
199+
? checkSpecification.useAllPlatformBundle
200+
: "false";
202201

203202
if (checkSpecification.analysisKinds) {
204203
const newMatrix: Array<Record<string, any>> = [];
@@ -249,9 +248,7 @@ function main(): void {
249248
"use-all-platform-bundle": useAllPlatformBundle,
250249
// If the action is being run from a container, then do not setup kotlin.
251250
// This is because the kotlin binaries cannot be downloaded from the container.
252-
"setup-kotlin": String(
253-
!("container" in checkSpecification),
254-
).toLowerCase(),
251+
"setup-kotlin": "container" in checkSpecification ? "false" : "true",
255252
},
256253
});
257254

@@ -373,7 +370,7 @@ function main(): void {
373370
if (node.type === "QUOTE_DOUBLE") {
374371
node.type = "QUOTE_SINGLE";
375372
}
376-
}
373+
},
377374
});
378375

379376
// Add the generated steps in front of the ones from the specification.

0 commit comments

Comments
 (0)