Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Forward non timeout execution errors to linter #341

Closed
wants to merge 1 commit into from

Conversation

vzamanillo
Copy link
Contributor

Fixes #339

forward non timeout execution errors to linter
@vzamanillo vzamanillo changed the title Forward non timeout execution errors Forward non timeout execution errors to linter Jun 21, 2019
if (output === null) { return null }
let output
try {
output = await executeRubocop(execOptions, command)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this is incorrect because all errors will be shown onto the linter pane.

atom.notifications.addInfo(message)
let output
try {
output = await executeRubocop(getBaseExecutionOpts(filePath), command)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this is incorrect because all errors will be shown onto the linter pane.

@vzamanillo vzamanillo mentioned this pull request Jun 25, 2019
@vzamanillo
Copy link
Contributor Author

This PR should be invalidated in favour of #346

@vzamanillo vzamanillo closed this Oct 25, 2019
@vzamanillo vzamanillo deleted the remove-error-popup branch May 28, 2020 18:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid opening error popups when rubocop is not found
1 participant