Skip to content

Commit 0da3888

Browse files
authored
chore(examples): add missing use strict directives (#234)
1 parent 8073670 commit 0da3888

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

examples/epic-games.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
const fastify = require('fastify')({ logger: { level: 'trace' } })
24

35
// const oauthPlugin = require('fastify-oauth2')

examples/spotify.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
const fastify = require('fastify')({ logger: true })
24

35
// const oauthPlugin = require('fastify-oauth2')

examples/vkontakte.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
const fastify = require('fastify')({ logger: { level: 'trace' } })
24

35
// const oauthPlugin = require('fastify-oauth2')

0 commit comments

Comments
 (0)