forked from hinterland/hearth
94dd68587b6318b1d8d6bb845d21dcce342c1b49
db-tool): postgres-init: always invoke main so sourcing exports vars
Previous basename guard only ran the function when invoked as the postgres-init binary, but consumer shellHooks source the script to inherit POSTGRESQL_HOST/PGURL/etc. Sourcing left the function defined but never called, leaving WIPE_PGURL/PGURL unset and breaking devshell entry in proxydoe and ruststats.
Description
No description provided
Languages
Go
77.1%
Handlebars
7.3%
TypeScript
4.2%
Shell
2.1%
CSS
2%
Other
7%