Skip to content

Commit dd74361

Browse files
committed
add --use_strict to run node
1 parent eac7dbe commit dd74361

File tree

22 files changed

+23
-23
lines changed

22 files changed

+23
-23
lines changed

samples/node/web/db/hello-sequelize/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"

samples/node/web/db/hello-sequelize/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Hello Sequelize example with async",
55
"main": "start.js",
66
"scripts": {
7-
"start": "node start.js"
7+
"start": "node --use_strict start.js"
88
},
99
"keywords": [
1010
"sequelize",

samples/node/web/db/model-sequelize/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"

samples/node/web/db/model-sequelize/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Sequelize best practice example with async",
55
"main": "start.js",
66
"scripts": {
7-
"start": "node start.js"
7+
"start": "node --use_strict start.js"
88
},
99
"keywords": [
1010
"sequelize",

samples/node/web/koa/hello-koa/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"

samples/node/web/koa/hello-koa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Hello Koa 2 example with async",
55
"main": "start.js",
66
"scripts": {
7-
"start": "node start.js"
7+
"start": "node --use_strict start.js"
88
},
99
"keywords": [
1010
"koa",

samples/node/web/koa/url-koa/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"

samples/node/web/koa/url-koa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "koa2 example with url route",
55
"main": "start.js",
66
"scripts": {
7-
"start": "node start.js"
7+
"start": "node --use_strict start.js"
88
},
99
"keywords": [
1010
"koa",

samples/node/web/koa/url2-koa/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"

samples/node/web/koa/url2-koa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "koa 2 example with url route",
55
"main": "start.js",
66
"scripts": {
7-
"start": "node start.js"
7+
"start": "node --use_strict start.js"
88
},
99
"keywords": [
1010
"koa",

samples/node/web/koa/use-nunjucks/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"

samples/node/web/koa/view-koa/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"

samples/node/web/koa/view-koa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "koa 2 example with nunjucks as view",
55
"main": "start.js",
66
"scripts": {
7-
"start": "node start.js"
7+
"start": "node --use_strict start.js"
88
},
99
"keywords": [
1010
"koa",

samples/node/web/rest/rest-hello/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"

samples/node/web/rest/rest-hello/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "koa 2 example with rest api",
55
"main": "start.js",
66
"scripts": {
7-
"start": "node start.js"
7+
"start": "node --use_strict start.js"
88
},
99
"keywords": [
1010
"koa",

samples/node/web/rest/rest-koa/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"

samples/node/web/rest/rest-koa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "koa 2 example with rest api",
55
"main": "start.js",
66
"scripts": {
7-
"start": "node start.js"
7+
"start": "node --use_strict start.js"
88
},
99
"keywords": [
1010
"koa",

samples/node/web/test/async-test/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"preLaunchTask": null,
1616
"runtimeExecutable": null,
1717
"runtimeArgs": [
18-
"--nolazy"
18+
"--nolazy", "--use_strict"
1919
],
2020
"env": {
2121
"NODE_ENV": "test"

samples/node/web/test/hello-test/.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"
@@ -32,7 +32,7 @@
3232
"preLaunchTask": null,
3333
"runtimeExecutable": null,
3434
"runtimeArgs": [
35-
"--nolazy"
35+
"--nolazy", "--use_strict"
3636
],
3737
"env": {
3838
"NODE_ENV": "test"

samples/node/web/ws/hello-ws/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"

samples/node/web/ws/ws-with-koa/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preLaunchTask": null,
1313
"runtimeExecutable": null,
1414
"runtimeArgs": [
15-
"--nolazy"
15+
"--nolazy", "--use_strict"
1616
],
1717
"env": {
1818
"NODE_ENV": "development"

samples/node/web/ws/ws-with-koa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "websocket with koa integration",
55
"main": "start.js",
66
"scripts": {
7-
"start": "node start.js"
7+
"start": "node --use_strict start.js"
88
},
99
"keywords": [
1010
"websocket",

0 commit comments

Comments
 (0)