mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-26 14:36:01 -05:00
Test
This commit is contained in:
parent
61a61a5555
commit
1048f6dd7a
@ -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…
x
Reference in New Issue
Block a user