Skip to content

Commit

Permalink
1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
acegoal07 committed Sep 9, 2022
1 parent e641bd1 commit 753b942
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,6 @@ class editor {
if (!path) {
throw new Error("set ERROR: path is null")
}
if (!value) {
throw new Error("set ERROR: value is null")
}
if (typeof path === "object") {
iterateObject(path, (val, n) => {
setValue(this.data, n, val, options);
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": "@acegoal07/json-editor",
"version": "1.0.6",
"version": "1.0.7",
"description": "A simple json file editor",
"main": "index",
"repository": {
Expand Down

0 comments on commit 753b942

Please sign in to comment.