mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-17 09:05:56 +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");
|
const fs = require("fs");
|
||||||
|
|
||||||
let path = "../src/lang";
|
let path = "./src/lang";
|
||||||
|
|
||||||
// list directories in the lang directory
|
// list directories in the lang directory
|
||||||
let jsonFileList = fs.readdirSync(path);
|
let jsonFileList = fs.readdirSync(path);
|
||||||
|
@ -23,3 +23,5 @@ for (let jsonFile of jsonFileList) {
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log("All lang json files are formatted correctly.");
|
||||||
|
|
Loading…
Add table
Reference in a new issue