瀏覽代碼

Use `lint` toolchain in program lint script

#### Problem
The program lint script at `scripts/program/lint.mjs` is using the toolchain for `format` instead of `lint`.

#### Summary of Changes
Update it to use `lint`!
Joe C 1 年之前
父節點
當前提交
9efab775c2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      template/base/scripts/program/lint.mjs

+ 1 - 1
template/base/scripts/program/lint.mjs

@@ -13,7 +13,7 @@ import {
 const lintArgs = cliArguments();
 
 const fix = popArgument(lintArgs, '--fix');
-const toolchain = getToolchainArgument('format');
+const toolchain = getToolchainArgument('lint');
 
 // Lint the programs using clippy.
 await Promise.all(