Skip to content

Commit

Permalink
Improve based on feedback
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Kuruvilla <[email protected]>
  • Loading branch information
andy1li and rohitpaulk authored Oct 14, 2024
1 parent 1d76c0d commit 4bc5be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/lint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class LintCommand extends BaseCommand {
async lintRustFiles() {
const dockerShellCommandExecutor = await this.dockerShellCommandExecutor("rust-tools");
await dockerShellCommandExecutor.exec(`find . -name '*.rs' -exec rustfmt --edition "2021" --check -- {} +`);
await dockerShellCommandExecutor.exec("cd starter_templates/rust/code && cargo clippy --fix --allow-dirty");
await dockerShellCommandExecutor.exec("cd compiled_starters/rust && cargo clippy --fix --allow-dirty");
}

async lintDockerFilesHelper(tmpDirectory: string) {
Expand Down

0 comments on commit 4bc5be1

Please sign in to comment.