This PR aims to fix the error referenced in https://github.com/leonardoquevedox/capacitor-resources/issues/7. This fixes the error by wrapping the paths in a string. This allows Node to parse the correct file path to the copy modules. Please reference this Stack Overflow accepted answer as a form of proof.
Expected Impact
Impact
This fix should have no impact on existing users and installations. This addresses how Node parsed the file path for an expected resource. This only affects the exec statements in src/copy/index.js by wrapping the file path inside of a string.
Tests
Testing
This has been tested in a file path on windows c:\Users\first last\Projects\ionic-app and c:\Users\firstlast\Projects\ionic-app. This has also been tested with the same parameters on Mac OS Monterey with success.
Hi, @bvdalling! Thank you so much for you effort on solving this issue: These are the principles capacitor-resources was built on: The community thinks better than the individual. Long live open source!
Description
This PR aims to fix the error referenced in https://github.com/leonardoquevedox/capacitor-resources/issues/7. This fixes the error by wrapping the paths in a string. This allows Node to parse the correct file path to the copy modules. Please reference this Stack Overflow accepted answer as a form of proof. Expected Impact
Impact
This fix should have no impact on existing users and installations. This addresses how Node parsed the file path for an expected resource. This only affects the exec statements in src/copy/index.js by wrapping the file path inside of a string. Tests
Testing
This has been tested in a file path on windows c:\Users\first last\Projects\ionic-app and c:\Users\firstlast\Projects\ionic-app. This has also been tested with the same parameters on Mac OS Monterey with success.