mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 15:33:12 +09:00
Use strict mode
Add strict mode directives to all js files.
This commit is contained in:
1 parent
b254e4189d
commit
3dba92a03d
65 files changed
+68
-3
No files matched your search
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user