Skip to content

Commit d3a4b94

Browse files
committed
fix: choose clang-format before other patches
1 parent 9e5af3b commit d3a4b94

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

dist/actions/setup-cpp.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/actions/setup-cpp.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/llvm/llvm_installer.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ async function patchAptLLVMScript(path: string, target_path: string, packages: L
5050

5151
script = debugScript(script)
5252
script = nonInteractiveScript(script)
53-
script = await removeConflictingPAckages(script)
54-
script = useNalaScript(script)
5553
script = choosePackages(packages, script)
54+
script = await removeConflictingPackages(script)
55+
script = useNalaScript(script)
5656

5757
await writeFile(target_path, script)
5858

@@ -76,7 +76,7 @@ function nonInteractiveScript(script: string) {
7676
)
7777
}
7878

79-
async function removeConflictingPAckages(givenScript: string) {
79+
async function removeConflictingPackages(givenScript: string) {
8080
// fix conflicts between libclang-rt and libclang
8181
let script = givenScript.replace(
8282
/apt-get install -y/g,

0 commit comments

Comments
 (0)