Skip to content

Commit

Permalink
Slight code tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Jul 16, 2024
1 parent 76e6c4f commit 6928cd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ async function mainWorker(d: D) {
return;
}

let herebyfilePath = args.herebyfile ?? findHerebyfile(d.cwd());
herebyfilePath = path.resolve(d.cwd(), herebyfilePath);
const herebyfilePath = path.resolve(d.cwd(), args.herebyfile ?? findHerebyfile(d.cwd()));

if (await reexec(herebyfilePath)) {
return;
Expand Down

0 comments on commit 6928cd6

Please sign in to comment.