mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 22:00:41 +08:00
[eslint] Enable yoda and eqeqeq
This commit is contained in:
@@ -9,7 +9,7 @@ const log = function (any) {
|
||||
};
|
||||
|
||||
const exit = function (error) {
|
||||
if (error && error != 0) {
|
||||
if (error && error !== 0) {
|
||||
process.exit(error);
|
||||
} else {
|
||||
if (parentPort) {
|
||||
|
Reference in New Issue
Block a user