Forge/CLI npm project emits warnings into stdout

XMLWordPrintable

      Issue Summary

      Using Forge CLI, for example running it from node v22, it emits a warning into stdout rather than stderr.

      Suggestions to this issue:

      1. warnings and erros should be mitted to stderr instead of stdout

                      a. or, warnings should be included in the json output

             2. add a global flag such as -show-only-errors or -disable-warnings (etc.) that                   would completely prevent emitting warnings to either stderr or stdout.

       

      Steps to Reproduce

      1. Force warning into Forge/CLI

      Expected Results

      Warning and other human readable messages should be piped into stderr

      Actual Results

      Warnings piped into stdout

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Angelina Ignatova
            Reporter:
            Emmanuel Bellezza
            Votes:
            10 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: