-
Notifications
You must be signed in to change notification settings - Fork 7
Prefer resolving to PATHEXT extensions on Windows #25
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The command in the config here (#23 (comment)):
"exec": {
"associations": [
"**/*.{sh,bash}",
"**/package.json"
],
"prettier-package-json.associations": "**/package.json",
"prettier-package-json": "node_modules/.bin/prettier-package-json"
},...has files prettier-package-json, prettier-package-json.cmd and prettier-package-json.ps1, but doesn't work on Windows:
Error formatting V:\scratch-npm\package.json. Message: Cannot start formatter process: %1 is not a valid Win32 application. (os error 193)
...unless the .cmd extension is provided. It should work cross platform and not require this extension.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request