Skip to content

Commit

Permalink
Merge pull request #8 from akdilsiz/development
Browse files Browse the repository at this point in the history
 Remove: private method # because unsupported browser engine runtime
  • Loading branch information
akdilsiz committed Oct 1, 2023
2 parents 1debd29 + 416f05b commit eebfe8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions fileNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@ class FileNode {
const fileName = fromPath.Name(),
parentNode = this.Search(fromPath.ParentPath().String())

return this.#remove(parentNode, fileName)
return this._remove(parentNode, fileName)
}
RemoveByUUID(uUID = '', parentUUID = '') {
const parentNode = this.SearchByUUID(parentUUID)
return this.#remove(parentNode, uUID, 'uuid')
return this._remove(parentNode, uUID, 'uuid')
}
#remove(parentNode = new FileNode(), value = '', searchField = '') {
_remove(parentNode = new FileNode(), value = '', searchField = '') {
if (parentNode === null || parentNode.Name.length === 0) {
return { fileNode: null, error: ErrFileNodeNotFound}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fs-shadow-js",
"version": "1.0.5",
"version": "1.0.6",
"description": "FS-Shadow Javascript",
"main": "index.js",
"type": "commonjs",
Expand Down

0 comments on commit eebfe8d

Please sign in to comment.