Remove N/A hack from json-file-fix and format file
This commit is contained in:
parent
05e6ef2650
commit
9a38a597e5
1 changed files with 3 additions and 8 deletions
|
|
@ -37,11 +37,6 @@ fs.readdirSync(arg, { recursive: true, withFileTypes: true }).forEach(file => {
|
|||
return;
|
||||
}
|
||||
|
||||
if (errorObject["short_description"] === "N/A") errorObject["short_description"] = "Unknown cause.";
|
||||
if (errorObject["long_description"] === "N/A") errorObject["long_description"] = "Unknown cause.";
|
||||
if (errorObject["short_solution"] === "N/A") errorObject["short_solution"] = "Unknown solution.";
|
||||
if (errorObject["long_solution"] === "N/A") errorObject["long_solution"] = "Unknown solution.";
|
||||
|
||||
const {
|
||||
short_description,
|
||||
long_description,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue