Skip to content

Commit dd2f113

Browse files
committed
fix: catch the errors of setupLLVMApt correctly
1 parent 3206aaa commit dd2f113

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

dist/actions/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/actions/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.

dist/legacy/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/legacy/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.

dist/modern/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/modern/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/llvm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async function setupLLVMOnly(version: string, setupDir: string, arch: string) {
4444
const majorVersion = parseInt(coeredVersion.split(".")[0], 10)
4545
try {
4646
if (isUbuntu()) {
47-
return setupLLVMApt(majorVersion)
47+
return await setupLLVMApt(majorVersion)
4848
}
4949
} catch (err) {
5050
info(`Failed to install llvm via system package manager ${err}`)

0 commit comments

Comments
 (0)