Skip to content

Commit

Permalink
chore: fix bin script for tfgen
Browse files Browse the repository at this point in the history
  • Loading branch information
ohoareau committed Sep 1, 2024
1 parent 08e0186 commit c3eef44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/tfgen
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const [,, configFile, sourceDir, targetDir] = process.argv;

require(`${__dirname}/../lib/index.js`).tfgen(configFile, sourceDir, targetDir).then(() => {}).catch(e => {
require(`${__dirname}/../lib/commads/tfgen.js`).default(configFile, sourceDir, targetDir).then(() => {}).catch(e => {
console.error(e.message);
process.exit(1);
});
});

0 comments on commit c3eef44

Please sign in to comment.