Skip to content

Commit

Permalink
Revert rmSync change due to iOS app building with node.js v12
Browse files Browse the repository at this point in the history
  • Loading branch information
dangond-ptc committed Jul 28, 2023
1 parent 44f474c commit f44aaef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ exports.updateObject = function updateObject(objectName, objects) {
exports.deleteObject = function deleteObject(objectName, objects, objectLookup, activeHeartbeats, knownObjects, sceneGraph, setAnchors) {
let objectFolderPath = path.join(objectsPath, objectName);
if (fs.existsSync(objectFolderPath)) {
fs.rmSync(objectFolderPath, {recursive: true});
fs.rmdirSync(objectFolderPath, {recursive: true});
}

let objectKey = this.readObject(objectLookup, objectName);
Expand Down

0 comments on commit f44aaef

Please sign in to comment.