Skip to content

Commit

Permalink
Fix copyDirectoryEntriesTo (fixes mapiacompany#76) mapiacompany#77
Browse files Browse the repository at this point in the history
  • Loading branch information
hmphu committed Aug 4, 2023
1 parent c9daa76 commit e80369d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fileUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export class FileUtil {
for (let i = 0; i < files.length; i++) {
const file = files[i];
if (ignoreList.includes(file.name)) continue;
const sourcePath = sourceDir.path + "/" + file;
const destPath = destinationDir.path + "/" + file;
const sourcePath = sourceDir.path + "/" + file.name;
const destPath = destinationDir.path + "/" + file.name;
const source = { ...sourceDir, path: sourcePath };
const destination = { ...destinationDir, path: destPath };
if (await FileUtil.directoryExists(source.directory, source.path)) { // is directory
Expand Down

0 comments on commit e80369d

Please sign in to comment.