chore:1.0.15

This commit is contained in:
曾文豪
2023-11-14 14:33:55 +08:00
parent 9d4016594a
commit 35e5fc003c
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@tiesheng/npm-tool",
"version": "1.0.14",
"version": "1.0.15",
"description": "npm tool package",
"main": "index.js",
"scripts": {

View File

@@ -37,6 +37,9 @@ const parseJSON = (value, def = {}) => {
obj = JSON.parse(value);
} catch (e) {
}
if (!obj) {
obj = def;
}
return obj;
};