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: fix with --dry-run should not modify files #169

Merged
merged 3 commits into from Jun 8, 2018

Conversation

ofrobots
Copy link
Contributor

@ofrobots ofrobots commented Jun 8, 2018

Fixes: #118

@ofrobots ofrobots requested a review from jinwoo June 8, 2018 17:27
@ofrobots
Copy link
Contributor Author

ofrobots commented Jun 8, 2018

Working on a few more tests

@codecov-io
Copy link

codecov-io commented Jun 8, 2018

Codecov Report

Merging #169 into master will increase coverage by 0.21%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
+ Coverage   97.01%   97.23%   +0.21%     
==========================================
  Files          10       10              
  Lines         369      398      +29     
  Branches       27       28       +1     
==========================================
+ Hits          358      387      +29     
  Misses         11       11
Impacted Files Coverage Δ
src/lint.ts 100% <100%> (ø) ⬆️
test/test-lint.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09ca073...c22e176. Read the comment docs.

});
});

test.serial('lint should auto fix fixable errors unless dry-run', async t => {
Copy link
Member

Choose a reason for hiding this comment

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

The description sounds a little bit off from what is tested. Maybe 'lint should not auto fix on dry-run'?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

@ofrobots ofrobots merged commit 9a1bfdd into google:master Jun 8, 2018
@ofrobots ofrobots deleted the fix/118 branch June 8, 2018 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants