Skip to content

potential bug: compile with unknown '--addonsDir' does not emit WarnMessage #59

@meck93

Description

@meck93

Bug Report

After upgrading from 0.4.0 to 0.6.3, the following test started to fail. The test checks whether a WarnMessage is reported if an unknown (directory that does not exist) --addonsDir is passed to the Websmith compile command.

🕗 Version & Regression Information

v0.6.3

Image

💻 Code

The following test fails: https://github.com/quatico-solutions/magellan/blob/aaaf7966992a8543fe775ba1a492f8c1f0d43e1a/packages/cli/src/compiler/command.spec.ts#L202-L212

🙁 Actual behavior

There used to be a warning message: new WarnMessage(Addons directory "${system.resolvePath("./unknown")}" does not exist.) which is no longer reported.

🙂 Expected behavior

?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions