diff --git a/fs/copyFiles.js b/fs/copyFiles.js index 8612209..ea6d083 100644 --- a/fs/copyFiles.js +++ b/fs/copyFiles.js @@ -17,7 +17,7 @@ function copyFiles(files, target_dir, options) { var cwd = options.cwd || process.cwd(); files.forEach((file_path, index) => { - if(!isFileSync(file_path)) + if(!isFileSync(path.join(cwd, file_path))) return; let current_dir = path.dirname(file_path); diff --git a/package.json b/package.json index ed60101..925b1b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nyks", - "version": "5.2.3", + "version": "5.2.4", "description": "nodejs exupery style", "keywords": [ "native",