Added the test for the workspace file which contains the utility methods. Meanwhile, updated the exec to execFile to improve security since execFile takes string[] do not spawn a shell and execute the command directly.
Reviewer Testing Instructions
Pull down changes
Build each package, and verify that it works as it did before
Run tests to see whether they all pass.
Add package to Babylon.JS Editor and verify it works as it did before
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description
Added the test for the workspace file which contains the utility methods. Meanwhile, updated the
exec
toexecFile
to improve security sinceexecFile
takesstring[]
do not spawn a shell and execute the command directly.Reviewer Testing Instructions
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.