Skip to content

Commit

Permalink
chore: use --call-module-type=all instead of --module
Browse files Browse the repository at this point in the history
  • Loading branch information
ponkio-o committed Sep 17, 2024
1 parent c760a8f commit a54ed23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30367,7 +30367,7 @@ const run = (inputs) => __awaiter(void 0, void 0, void 0, function* () {
env: Object.assign(Object.assign({}, process.env), { GITHUB_TOKEN: inputs.githubTokenForTflintInit }),
});
core.info('Running tflint');
const out = yield exec.getExecOutput('tflint', ['--format', 'json', '--module'], {
const out = yield exec.getExecOutput('tflint', ['--format', 'json', '--call-module-type=all'], {
cwd: inputs.workingDirectory,
ignoreReturnCode: true,
});
Expand Down
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const run = async (inputs: Inputs): Promise<void> => {
},
});
core.info('Running tflint');
const out = await exec.getExecOutput('tflint', ['--format', 'json', '--module'], {
const out = await exec.getExecOutput('tflint', ['--format', 'json', '--call-module-type=all'], {
cwd: inputs.workingDirectory,
ignoreReturnCode: true,
});
Expand Down

0 comments on commit a54ed23

Please sign in to comment.