Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): skip caching output properties missing in options and arguments #6743

Merged
merged 2 commits into from
Aug 18, 2021

Conversation

meeroslav
Copy link
Contributor

Current Behavior

Linter's outputFile is not being cached

Expected Behavior

Linter's outputFile should be cached as part of command's outputs

Related Issue(s)

Fixes #6656

@vercel
Copy link

vercel bot commented Aug 17, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nrwl/nx-dev/CNkS6tXavxF8p25gtyDXhbJMGBHg
✅ Preview: Canceled

[Deployment for 5b83fbb canceled]

@meeroslav meeroslav requested a review from FrozenPandaz August 17, 2021 09:42
@meeroslav meeroslav self-assigned this Aug 17, 2021
@meeroslav meeroslav added the scope: core core nx functionality label Aug 17, 2021
@meeroslav meeroslav changed the title fix(core): add outputFile to cached outputs fix(core): ignore output properties missing in options and console arguments Aug 18, 2021
@meeroslav meeroslav changed the title fix(core): ignore output properties missing in options and console arguments fix(core): skip caching output properties missing in options and arguments Aug 18, 2021

runCLI(`generate @nrwl/web:app ${myapp}`);
const workspaceJson = readJson(`workspace.json`);
workspaceJson.projects[myapp].targets.lint.outputs = [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add this when generating a lint project.

@FrozenPandaz FrozenPandaz merged commit b320624 into nrwl:master Aug 18, 2021
ManojBahuguna pushed a commit to ManojBahuguna/nx that referenced this pull request Sep 16, 2021
…ments (nrwl#6743)

* fix(core): add outputFile to cached outputs

* fix(core): ignore output properties missing in options and console arguments
@meeroslav meeroslav deleted the fix/linter-output-caching branch October 18, 2021 12:37
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: core core nx functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

eslint outputFile is not cached
2 participants