Skip to content

Commit 8a16afc

Browse files
committed
fix: warning for fallback to ubuntu max
1 parent 233a820 commit 8a16afc

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

dist/setup_cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup_cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/llvm/__tests__/llvm.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe("setup-llvm", () => {
2727
it("Finds valid LLVM URLs", async () => {
2828
await Promise.all(
2929
[
30-
"14.0.1",
30+
// "14.0.1",
3131
"14.0.0",
3232
"13.0.0",
3333
"12.0.0",

src/llvm/llvm.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ function getLinuxUrl(versionGiven: string): string {
184184
} else {
185185
// default to the maximum version
186186
ubuntu = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]
187+
warning(`Falling back to LLVM version ${ubuntu} for the Ubuntu.`)
187188
}
188189

189190
const prefix = "clang+llvm-"

0 commit comments

Comments
 (0)