nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.69k stars 2.37k forks source link

affected:lint doesn't pass format correctly #680

Closed llehn closed 6 years ago

llehn commented 6 years ago

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

FrozenPandaz commented 6 years ago

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

You will need to run:


nx affected:lint --files=package.json --parallel -- --format msbuild
github-actions[bot] commented 1 year ago

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.