Skip to content

Commit

Permalink
[#49] Rename clang-format.darwin to clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Galarius committed Apr 11, 2023
1 parent 2ab4482 commit e3c6f20
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/src/providers/formatter/clang/formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ const getClangBinaryPath = () => {
return undefined

const baseDir = path.join(extension.extensionPath, 'LLVM', 'bin')
if(process.platform == 'darwin') {
return path.join(baseDir, 'clang-format.darwin')
} else if(process.platform == 'win32') {
if(process.platform == 'win32') {
return path.join(baseDir, 'clang-format.exe')
}
return path.join(baseDir, 'clang-format')
Expand Down

0 comments on commit e3c6f20

Please sign in to comment.