Nx: affected:lint doesn't pass format correctly

Created on 8 Aug 2018  路  1Comment  路  Source: nrwl/nx

using nx 6.2 I try to run this:
nx affected:lint --files=package.json --parallel --format=msbuild

I get a bunch of error messages, because nx tries to execute this for each project:
ng "lint" "--format=msbuild" "--format:write=msbuild" "--project=kui-base-components"

the error message reads
Unknown option: '--format:write'

Somehow nx rewrites the format parameter and messes it up.

running ng lint --format=msbuild --project=kui-base-components works as expected

bug

Most helpful comment

Fixed with https://github.com/nrwl/nx/pull/876 + https://github.com/nrwl/nx/pull/903

You will need to run:
```sh
nx affected:lint --files=package.json --parallel -- --format msbuild

>All comments

Fixed with https://github.com/nrwl/nx/pull/876 + https://github.com/nrwl/nx/pull/903

You will need to run:
```sh
nx affected:lint --files=package.json --parallel -- --format msbuild

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jasedwards picture jasedwards  路  3Comments

zpydee picture zpydee  路  3Comments

IonFoXx picture IonFoXx  路  3Comments

markphip picture markphip  路  3Comments

joelmuskwe picture joelmuskwe  路  3Comments