libnpmexec 2.0.0 → 2.0.1

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -165,6 +165,8 @@ const exec = async (opts) => {
165
165
  const prompt = `Need to install the following packages:\n${
166
166
  addList
167
167
  }Ok to proceed? `
168
+ if (typeof log.clearProgress === 'function')
169
+ log.clearProgress()
168
170
  const confirm = await read({ prompt, default: 'y' })
169
171
  if (confirm.trim().toLowerCase().charAt(0) !== 'y')
170
172
  throw new Error('canceled')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libnpmexec",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "files": [
5
5
  "lib"
6
6
  ],