diff options
Diffstat (limited to 'xmake/plugins/format/main.lua')
| -rw-r--r-- | xmake/plugins/format/main.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/format/main.lua b/xmake/plugins/format/main.lua index 228e46517..9a119aec3 100644 --- a/xmake/plugins/format/main.lua +++ b/xmake/plugins/format/main.lua @@ -32,7 +32,7 @@ function main() -- load configuration config.load() - -- enter the environments of doxygen + -- enter the environments of llvm local oldenvs = packagenv.enter("llvm") -- find clang-format @@ -99,5 +99,6 @@ function main() os.vrunv(clang_format.program, argv, {curdir = projectdir}) cprint("${color.success}formatting complete") + -- done os.setenvs(oldenvs) end |
