Skip to content

Commit efc2480

Browse files
committed
release v0.1.1
1 parent 69cc094 commit efc2480

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const handleFile = async (path, dest, keepPath, br, gz, ignoreWatchDir) => {
3838
const filePath = resolve(dest, modifiedPath)
3939
await fs.createFile(filePath)
4040
const read = fs.createReadStream(path)
41-
if (dest !== '.') {
41+
if (dest !== '.' && dest !== './') {
4242
read.pipe(fs.createWriteStream(resolve(dest, filePath)));
4343
}
4444
if (br == true) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "copy-plus",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Declare folders to copy and/or watch into a destination folder",
55
"main": "index.js",
66
"engines": {

0 commit comments

Comments
 (0)