adapt-cli 3.0.9 → 3.0.11

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.
package/README.md CHANGED
@@ -262,5 +262,5 @@ See [Developing plug-ins](https://github.com/adaptlearning/adapt_framework/wiki/
262
262
  <div float align=right><a href="#top">Back to Top</a></div>
263
263
 
264
264
  ----------------------------
265
- **Version number:** 3.0.2 <a href="https://community.adaptlearning.org/" target="_blank"><img src="https://github.com/adaptlearning/documentation/blob/master/04_wiki_assets/plug-ins/images/adapt-logo-mrgn-lft.jpg" alt="adapt learning logo" align="right"></a>
265
+ <a href="https://community.adaptlearning.org/" target="_blank"><img src="https://github.com/adaptlearning/documentation/blob/master/04_wiki_assets/plug-ins/images/adapt-logo-mrgn-lft.jpg" alt="adapt learning logo" align="right"></a>
266
266
  **Author / maintainer:** Adapt Core Team with [contributors](https://github.com/adaptlearning/adapt-contrib-hotgraphic/graphs/contributors)
@@ -218,7 +218,7 @@ export default class Plugin {
218
218
  } catch (err) {
219
219
  const isFinished = (err?.code === 'ENOTFOUND' || attemptCount >= BOWER_MAX_TRY)
220
220
  if (isFinished) return null
221
- return await perform(attemptCount++)
221
+ return await perform(attemptCount + 1)
222
222
  }
223
223
  }
224
224
  const info = await perform()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-cli",
3
- "version": "3.0.9",
3
+ "version": "3.0.11",
4
4
  "description": "Command line tools for Adapt",
5
5
  "main": "./lib/api.js",
6
6
  "type": "module",