diff --git a/History.md b/History.md index 940d129..cab6251 100644 --- a/History.md +++ b/History.md @@ -1,15 +1,15 @@ -1.0.2 / 2017-11-20 - * [fixed] Fixed remove the dir not empty call error. +# 1.0.3 / 2017-12-23 +* [del] delete the log output -1.0.1 / 2017-04-24 - * [add] ls function can recur list child folder with second para set to be true. +# 1.0.2 / 2017-11-20 +* [fixed] Fixed remove the dir not empty call error. -1.0.0 / 2017-02-26 -================== +# 1.0.1 / 2017-04-24 - * new project - +* [add] ls function can recur list child folder with second para set to be true. +# 1.0.0 / 2017-02-26 +* new project diff --git a/index.js b/index.js index 641edc3..7b91ce9 100644 --- a/index.js +++ b/index.js @@ -6,8 +6,8 @@ */ 'use strict' -const fs = require('fs'), - path = require('path') +const fs = require('fs') +const path = require('path') class Iofs { constructor() { @@ -139,7 +139,6 @@ class Iofs { ws = fs.createWriteStream(to) rs.pipe(ws) - rs.on('end', err => console.error(err)) } /** diff --git a/package.json b/package.json index f552567..9bca273 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iofs", - "version": "1.0.2", + "version": "1.0.3", "description": "Base on native fs module, for easy using.", "main": "index.js", "repository": {