adapt-authoring-adaptframework 2.5.0 → 2.5.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.
@@ -164,7 +164,9 @@ class AdaptFrameworkBuild {
164
164
  * @return {Promise} Resolves with the output directory
165
165
  */
166
166
  async build () {
167
- await this.removeOldBuilds()
167
+ if (!this.outputDir) {
168
+ await this.removeOldBuilds()
169
+ }
168
170
 
169
171
  const framework = await App.instance.waitForModule('adaptframework')
170
172
  if (!this.expiresAt) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-adaptframework",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Adapt framework integration for the Adapt authoring tool",
5
5
  "homepage": "https://github.com/adapt-security/adapt-authoring-adaptframework",
6
6
  "license": "GPL-3.0",