@dnax/core 0.45.5 → 0.45.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/index.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.45.5",
3
+ "version": "0.45.6",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {
package/utils/index.ts CHANGED
@@ -400,7 +400,7 @@ const file = {
400
400
  }> => {
401
401
  return new Promise(async (resolve, reject) => {
402
402
  try {
403
- if (!(await fs.pathExists(des)) && !options?.force) {
403
+ if ((await !fs.pathExists(des)) && !options?.force) {
404
404
  reject("Already exist in destination");
405
405
  }
406
406
  await fs.copyFile(src, des);