parent
9ebfac29f2
commit
81e0439161
16
History.md
16
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
|
||||
|
|
5
index.js
5
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))
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue