Skip to content

Commit

Permalink
chore(codemod): Added comment about ignoring CodeQL alert
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Nov 24, 2021
1 parent 98a6a9f commit 631d56c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/codemod/rmd-codemod.ts
Expand Up @@ -128,6 +128,8 @@ async function handleAction(options: Options): Promise<void> {
// prefix with `node` because of a bug around: "env: node\r"
const command = `node ${jscodeshiftExecutable} ${args.join(" ")}`;
console.log(command);
// react-codemod does it... so I'll ignore the security issue fo rnow.
// https://github.com/reactjs/react-codemod/blob/b34b92a1f0b8ad333efe5effb50d17d46d66588b/bin/cli.js
execSync(command, { stdio: "inherit" });
}

Expand Down

0 comments on commit 631d56c

Please sign in to comment.