pinokiod 0.1.70 → 0.1.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -157,6 +157,7 @@ class FS {
157
157
  // await fs.promises.rm(filepath)
158
158
  ondata({ raw: "\r\nremoving:\r\n" + filepath + "\r\n" })
159
159
  await rimraf(filepath)
160
+ ondata({ raw: "done\r\n" })
160
161
  }
161
162
  async copy(req, ondata, kernel) {
162
163
  let cwd = (req.cwd ? req.cwd : kernel.api.userdir)
@@ -165,6 +166,7 @@ class FS {
165
166
  let options = req.params.options
166
167
  ondata({ raw: "\r\ncopying:\r\nfrom: " + src + "\r\nto: " + dest + "\r\n" })
167
168
  await fs.promises.cp(src, dest, options)
169
+ ondata({ raw: "done\r\n" })
168
170
  }
169
171
 
170
172
  async init(req, kernel) {
@@ -390,6 +392,7 @@ class FS {
390
392
  console.log("trying", number)
391
393
  await this._download(req, ondata, kernel)
392
394
  console.log("success")
395
+ ondata({ raw: "\r\nDone\r\n" })
393
396
  }, {
394
397
  retries: 10,
395
398
  factor: 2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "0.1.70",
3
+ "version": "0.1.71",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {