relq 1.0.22 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -260,7 +260,7 @@ async function main() {
260
260
  console.error('');
261
261
  process.exit(1);
262
262
  }
263
- config = await loadConfigWithEnv(configPath);
263
+ config = await loadConfigWithEnv(foundConfig);
264
264
  if (requiresDbConnection(command, flags) && !config.connection?.host && !config.connection?.url) {
265
265
  const colors = {
266
266
  red: (s) => `\x1b[31m${s}\x1b[0m`,
@@ -224,7 +224,7 @@ async function main() {
224
224
  console.error('');
225
225
  process.exit(1);
226
226
  }
227
- config = await loadConfigWithEnv(configPath);
227
+ config = await loadConfigWithEnv(foundConfig);
228
228
  if (requiresDbConnection(command, flags) && !config.connection?.host && !config.connection?.url) {
229
229
  const colors = {
230
230
  red: (s) => `\x1b[31m${s}\x1b[0m`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relq",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "The Fully-Typed PostgreSQL ORM for TypeScript",
5
5
  "author": "Olajide Mathew O. <olajide.mathew@yuniq.solutions>",
6
6
  "license": "MIT",