mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
Test
This commit is contained in:
parent
61a61a5555
commit
1048f6dd7a
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
const fs = require("fs");
|
||||
|
||||
let path = "../src/lang";
|
||||
let path = "./src/lang";
|
||||
|
||||
// list directories in the lang directory
|
||||
let jsonFileList = fs.readdirSync(path);
|
||||
|
@ -23,3 +23,5 @@ for (let jsonFile of jsonFileList) {
|
|||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
console.log("All lang json files are formatted correctly.");
|
||||
|
|
Loading…
Reference in a new issue