From c3eef44daad8a957e9195419d83cec7368e52596 Mon Sep 17 00:00:00 2001 From: Olivier Hoareau Date: Sun, 1 Sep 2024 23:12:07 +0200 Subject: [PATCH] chore: fix bin script for tfgen --- bin/tfgen | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tfgen b/bin/tfgen index 3dea174..0be2827 100755 --- a/bin/tfgen +++ b/bin/tfgen @@ -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); -}); \ No newline at end of file +});