Skip to content

Commit

Permalink
Merge pull request #133 from sliit-foss/feature/timekeeper
Browse files Browse the repository at this point in the history
Fix: babel config creation directory
  • Loading branch information
Akalanka47000 authored Jan 1, 2024
2 parents 8f2e721 + 01936f8 commit d88050f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/timekeeper/src/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const runner = async (p, options) => {
clean: options.clean ?? false
});

fs.writeFileSync("./babel.config.js", `module.exports = ${JSON.stringify(config)}`);
fs.writeFileSync(path.join(__dirname, "..", "babel.config.js"), `module.exports = ${JSON.stringify(config)}`);

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

Expand Down

0 comments on commit d88050f

Please sign in to comment.