Skip to content

Commit

Permalink
Merge pull request #131 from sliit-foss/feature/timekeeper
Browse files Browse the repository at this point in the history
Fix: timekeeper execution path
  • Loading branch information
Akalanka47000 authored Dec 18, 2023
2 parents 1885fd9 + 87547a9 commit 7e8e128
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/timekeeper/src/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ const runner = async (p, options) => {

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

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

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

Expand Down

0 comments on commit 7e8e128

Please sign in to comment.