Skip to content

Commit

Permalink
fix a bug #2
Browse files Browse the repository at this point in the history
  • Loading branch information
r4zendev committed Sep 27, 2024
1 parent c6e820c commit 0a3f279
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,7 @@ function run(transformFile, paths, options) {
const ext = path.extname(transformFile);
const path = path.join(
os.tmpdir(),
`jscodeshift-${crypto.randomBytes(8).toString('hex')}`,
ext
`jscodeshift-${crypto.randomBytes(8).toString('hex')}` + ext
);
remoteScriptPath = path;

Expand Down

0 comments on commit 0a3f279

Please sign in to comment.