summaryrefslogtreecommitdiff
path: root/packages/pogen/pogen.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-03-27 14:02:29 +0100
committerFlorian Dold <florian@dold.me>2021-03-27 14:02:48 +0100
commit14d48836397f5f52ed686fbffeaaf50a3f5a4577 (patch)
treef9be4150a983d65c774d19eeac0d25baea42ffce /packages/pogen/pogen.ts
parentc26a41ce70a56c73571c51e1fb4aca5a5b4de225 (diff)
downloadwallet-core-14d48836397f5f52ed686fbffeaaf50a3f5a4577.tar.gz
wallet-core-14d48836397f5f52ed686fbffeaaf50a3f5a4577.tar.bz2
wallet-core-14d48836397f5f52ed686fbffeaaf50a3f5a4577.zip
fix pogen binary
Diffstat (limited to 'packages/pogen/pogen.ts')
-rw-r--r--packages/pogen/pogen.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/pogen/pogen.ts b/packages/pogen/pogen.ts
index 972623645..23ac389f4 100644
--- a/packages/pogen/pogen.ts
+++ b/packages/pogen/pogen.ts
@@ -373,7 +373,7 @@ export function processFile(sourceFile: ts.SourceFile) {
}
}
-function main() {
+export function main() {
const configPath = ts.findConfigFile(
/*searchPath*/ "./",
ts.sys.fileExists,
@@ -434,5 +434,3 @@ msgstr ""
const out = outChunks.join("");
console.log(out);
}
-
-main();