Skip to content

Return cwd as default from s:ResolveExecutable#274

Merged
mitermayer merged 1 commit intoprettier:masterfrom
nhynes:patch-3
Feb 1, 2021
Merged

Return cwd as default from s:ResolveExecutable#274
mitermayer merged 1 commit intoprettier:masterfrom
nhynes:patch-3

Conversation

@nhynes
Copy link
Copy Markdown
Contributor

@nhynes nhynes commented Jan 3, 2021

Summary

This fixes an issue on nvim (v0.5.0, likely others) in which a local prettier installation is not found by s:ResolveExecutable, and it returns a -1 for executable(_) to choke on with a String required error.
The proposed change returns a sane default.

@mitermayer mitermayer merged commit 90fd0d6 into prettier:master Feb 1, 2021
@nhynes nhynes deleted the patch-3 branch February 1, 2021 14:35
@jrop
Copy link
Copy Markdown

jrop commented Feb 8, 2021

Fixed #276. Will close that issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants