Skip to content

Typescript build doesn't respect the quiet flag #603

@jamiedavenport

Description

@jamiedavenport

When using the build command on Typescript files, there is some console output even when the quiet flag is passed.

jamiedavenport@Jamies-MBP  ~/ncc-test  ncc version
0.24.1
 jamiedavenport@Jamies-MBP  ~/ncc-test  ncc build --quiet index.ts
ncc: Using [email protected] (ncc built-in)
 jamiedavenport@Jamies-MBP  ~/ncc-test  ncc build index.ts --quiet
ncc: Using [email protected] (ncc built-in)
 jamiedavenport@Jamies-MBP  ~/ncc-test 

index.ts

console.log("Hello, World");

I believe the issue is here where console.log should be wrapped in some kind of if(!quiet) check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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