Skip to content

Commit

Permalink
Debian clang version not detected (#1331)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbrow authored Jul 7, 2020
1 parent fd7d763 commit 9d693d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async function getClangVersion(binPath: string): Promise<ClangVersion|null> {
return null;
}
const lines = exec.stderr.split('\n');
const version_re = /^(?:Apple LLVM|Apple clang|clang) version ([^\s-]+)[\s-]/;
const version_re = /^(?:Apple LLVM|.*clang) version ([^\s-]+)[\s-]/;
let version: string = "";
let fullVersion: string = "";
for (const line of lines) {
Expand Down

0 comments on commit 9d693d7

Please sign in to comment.