From 81e0439161395b6ae45e3e8a3007f4d65c3e418b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Sat, 23 Dec 2017 14:42:27 +0800 Subject: [PATCH] delete the nouse log --- History.md | 16 ++++++++-------- index.js | 5 ++--- package.json | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) 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": {