Skip to content

Commit

Permalink
Fix(timekeeper): execution script
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Dec 18, 2023
1 parent b6e047f commit ffc567b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/timekeeper/src/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ const runner = async (p, options) => {

console.info(`[Timekeeper] transpiling...`.green);

await exec(
`bash -c "'${path.resolve(
__dirname,
"../node_modules/.bin/babel"
)}' ${p} --out-dir ./out --copy-files --config-file=./babel.config.js"`
);
await exec(`npx babel ${p} --out-dir ./out --copy-files --config-file=./babel.config.js`);

console.info(`[Timekeeper] executing...`.green);

Expand Down

0 comments on commit ffc567b

Please sign in to comment.