瀏覽代碼

fix autoformat.sh to format all files

Missingmew 4 年之前
父節點
當前提交
2898a04c76
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      autoformat.sh

+ 1 - 1
autoformat.sh

@@ -1,2 +1,2 @@
 #!/bin/bash
-find {daemon,cli,gui}/{src,include} -name *.cpp -o -name *.h -exec clang-format -i {} +
+clang-format -i {daemon,cli,gui}/src/*.cpp {daemon,cli,gui}/include/*.h