diff options
Diffstat (limited to '')
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | server/src/scripts/configure.js | 2 | ||||
-rw-r--r-- | server/src/scripts/debug.js | 2 | ||||
-rw-r--r-- | server/src/scripts/dev.js | 2 |
4 files changed, 7 insertions, 0 deletions
@@ -40,6 +40,7 @@ This is a backwards compatible continuation of the [work by Andrew Belt](https:/ - Use [the template](templateCommand.js) to learn how to create new commands. - Use two space indents. - Name files in camelCase. +- Scripts that do not default to strict mode (such as modules) must use the `'use strict'` directive. # Credits diff --git a/server/src/scripts/configure.js b/server/src/scripts/configure.js index 88cd098..0ecd858 100644 --- a/server/src/scripts/configure.js +++ b/server/src/scripts/configure.js @@ -7,6 +7,8 @@ * */ +'use strict'; + // import required classes const path = require('path'); const ImportsManager = require('../managers/imports-manager'); diff --git a/server/src/scripts/debug.js b/server/src/scripts/debug.js index 97597cd..3a97d9f 100644 --- a/server/src/scripts/debug.js +++ b/server/src/scripts/debug.js @@ -7,6 +7,8 @@ * */ +'use strict'; + // import required classes const path = require('path'); const ConfigManager = require('../managers/config'); diff --git a/server/src/scripts/dev.js b/server/src/scripts/dev.js index f1608ed..5049b84 100644 --- a/server/src/scripts/dev.js +++ b/server/src/scripts/dev.js @@ -7,6 +7,8 @@ * */ +'use strict'; + // import required classes |