Skip to content

Commit

Permalink
Merge pull request #13 from 131/copyFiles
Browse files Browse the repository at this point in the history
Copy files
  • Loading branch information
Kalmani committed Mar 15, 2018
2 parents ba8ad41 + 445c00b commit 40ab050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/copyFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nyks",
"version": "5.2.3",
"version": "5.2.4",
"description": "nodejs exupery style",
"keywords": [
"native",
Expand Down

0 comments on commit 40ab050

Please sign in to comment.