fix: ensure js file is copied to expected place #838
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
cpy-cli
was upgraded to a new major version by #818 which has since resulted ingetBigInt.js
being copied intolib/src/getBigInt.js
instead oflib/getBigInt.js
which has broken the latest release (#837).I can't see what the breaking change in
cpy-cli
that is causing this, but frankly we've only gotgetBigInt.js
to support lower versions of node so we shouldn't be expecting to copy any other js file & so I've just replaced it withcp
which is available on standard Linux & MacOS systems (and I believe PowerShell on Windows).This'll unbreak the library for the meantime at least - we can always add
cpy-cli
back in future.Resolves #837