When language-servers is checked out under a directory that contains spaces in the full path, npm install will fail to complete due to patchYamlJsonPackage.js.
Solution
This commit fixes this issue by ensuring file paths are quoted to support spaces in them.
Testing
Ensured npm install succeeds in a directory with spaces in the full path (i.e. under a user's Application Support folder for Sublime Text on OS X).
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Problem
When
language-servers
is checked out under a directory that contains spaces in the full path,npm install
will fail to complete due topatchYamlJsonPackage.js
.Solution
This commit fixes this issue by ensuring file paths are quoted to support spaces in them.
Testing
Ensured
npm install
succeeds in a directory with spaces in the full path (i.e. under a user'sApplication Support
folder for Sublime Text on OS X).License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.