Skip to content

[Bug]: base44 deploy doesn't exit with 1 when failures happen #469

Description

@NitayRabi

Description

When creating an invalid import in a BE function, and deploying, there's error log, but the process ends successfully.
Example log:
■ generateToolName error: Error deploying function "generateToolName": Deno deployment failed: Deployment generateToolName failed with error:
│ The deployment failed: Module not found "file:///src/utils/toolName.ts".
Dashboard: https://app.base44.com/apps/**********/editor/workspace/overview

│ App URL: https://*********.base44.app

└ App deployed successfully

Steps to Reproduce

  1. Import some util from ../somewhere in a BE function
  2. Run base44 deploy
  3. There would be an error log but deployment would be successful.

This creates a false positive in CI/CD

Expected Behavior

No response

Actual Behavior

No response

Environment

  • OS:
  • Node.js version:
  • CLI version:

Error Logs

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions