summaryrefslogtreecommitdiff
path: root/packages/db/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--packages/db/src/core/cli/commands/execute/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/db/src/core/cli/commands/execute/index.ts b/packages/db/src/core/cli/commands/execute/index.ts
index eb51467d9..44a2c44fd 100644
--- a/packages/db/src/core/cli/commands/execute/index.ts
+++ b/packages/db/src/core/cli/commands/execute/index.ts
@@ -58,7 +58,7 @@ export async function cmd({
const mod = await importBundledFile({ code, root: astroConfig.root });
if (typeof mod.default !== 'function') {
- console.error(EXEC_DEFAULT_EXPORT_ERROR);
+ console.error(EXEC_DEFAULT_EXPORT_ERROR(filePath));
process.exit(1);
}
try {