Skip to content

Commit

Permalink
Fix line length linting warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi committed Jan 8, 2025
1 parent 944c40d commit 75088c2
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions src/utils/versionBundles.mts
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,21 @@ export default class VersionBundlesLoader {
if (modifiers !== undefined) {
const platformDouble = `${process.platform}_${process.arch}`;
if (modifiers[platformDouble] !== undefined) {
chosenBundle.cmake = modifiers[platformDouble]["cmake"] ?? chosenBundle.cmake
chosenBundle.ninja = modifiers[platformDouble]["ninja"] ?? chosenBundle.ninja
chosenBundle.picotool = modifiers[platformDouble]["picotool"] ?? chosenBundle.picotool
chosenBundle.toolchain = modifiers[platformDouble]["toolchain"] ?? chosenBundle.toolchain
chosenBundle.riscvToolchain = modifiers[platformDouble]["riscvToolchain"] ?? chosenBundle.riscvToolchain
chosenBundle.cmake =
modifiers[platformDouble]["cmake"] ?? chosenBundle.cmake

chosenBundle.ninja =
modifiers[platformDouble]["ninja"] ?? chosenBundle.ninja

chosenBundle.picotool =
modifiers[platformDouble]["picotool"] ?? chosenBundle.picotool

chosenBundle.toolchain =
modifiers[platformDouble]["toolchain"] ?? chosenBundle.toolchain

chosenBundle.riscvToolchain =
modifiers[platformDouble]["riscvToolchain"] ??
chosenBundle.riscvToolchain
}
}
}
Expand Down

0 comments on commit 75088c2

Please sign in to comment.