@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.
- package/package.json +1 -1
- package/util/fs-util.js +1 -1
package/package.json
CHANGED
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)(
|
|
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);
|