Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > IPhase > allowWarningsOnSuccess

IPhase.allowWarningsOnSuccess property

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

By default, Rush returns a nonzero exit code if errors or warnings occur during a command. If this option is set to true, Rush will return a zero exit code if warnings occur during the execution of this phase.

Signature:

allowWarningsOnSuccess: boolean;