소스 검색

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(