notherbase-fs 3.3.4 → 3.3.5

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/models/spirit.js +1 -1
  2. package/package.json +1 -1
package/models/spirit.js CHANGED
@@ -179,7 +179,7 @@ export default class Spirit {
179
179
  * @param {Object} data Data to add to the backup.
180
180
  */
181
181
  addBackup = async (data, max = 5) => {
182
- if (!this.memory.data._backupsEnabled) {
182
+ if (!this.memory.data?._backupsEnabled) {
183
183
  let oldData = this.memory.data;
184
184
  this.memory.data = {
185
185
  _backupsEnabled: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notherbase-fs",
3
- "version": "3.3.4",
3
+ "version": "3.3.5",
4
4
  "description": "Functions to help make developing for NotherBase easier.",
5
5
  "exports": "./notherbase-fs.js",
6
6
  "scripts": {