Use strict mode

Add strict mode directives to all js files.
This commit is contained in:
Hornwitser committed 2020-06-17 20:53:18 +02:00
1 parent b254e4189d
commit 3dba92a03d
65 files changed
+68 -3

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@
* Command line interface for controlling a Clusterio cluster
* @module
*/
"use strict";
const jwt = require("jsonwebtoken");
const fs = require("fs-extra");
const yargs = require("yargs");
@@ -730,7 +731,7 @@ async function startControl() {
});
if (commands.has(commandName)) {
command = commands.get(commandName);
let command = commands.get(commandName);
try {
await command.run(args, control);