Skip to content

Commit

Permalink
fix(list-module-callers): check the output of terragrunt render-json (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Jan 17, 2025
1 parent 50fb0a5 commit e7fef38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/src/list-module-callers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export const main = async () => {
);
const source = JSON.parse(fs.readFileSync(tmpobj.name, "utf8")).terraform
?.source;
if (!source) {
continue;
}
if (
source.startsWith("." + path.sep) ||
source.startsWith(".." + path.sep)
Expand Down

0 comments on commit e7fef38

Please sign in to comment.