@datatruck/cli 0.11.0 → 0.11.1

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/util/fs-util.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datatruck/cli",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "dependencies": {
5
5
  "ajv": "^8.11.0",
6
6
  "async": "^3.2.4",
package/util/fs-util.js CHANGED
@@ -395,7 +395,7 @@ async function cpy(options) {
395
395
  stats.files++;
396
396
  // https://github.com/nodejs/node/issues/44261
397
397
  if (exports.isWSLSystem) {
398
- const fileInfo = await (0, promises_1.stat)(entryTargetPath);
398
+ const fileInfo = await (0, promises_1.stat)(entrySourcePath);
399
399
  const isWritable = (fileInfo.mode & 0o200) === 0o200;
400
400
  if (!isWritable) {
401
401
  await copyFileWithStreams(entrySourcePath, entryTargetPath);