From 0da3888a718f61e4740d0b91c462b67215c742a5 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Wed, 18 Oct 2023 22:58:23 +0100 Subject: [PATCH] chore(examples): add missing `use strict` directives (#234) --- examples/epic-games.js | 2 ++ examples/spotify.js | 2 ++ examples/vkontakte.js | 2 ++ 3 files changed, 6 insertions(+) diff --git a/examples/epic-games.js b/examples/epic-games.js index 4b75d7c..3644d6d 100644 --- a/examples/epic-games.js +++ b/examples/epic-games.js @@ -1,3 +1,5 @@ +'use strict' + const fastify = require('fastify')({ logger: { level: 'trace' } }) // const oauthPlugin = require('fastify-oauth2') diff --git a/examples/spotify.js b/examples/spotify.js index 67ae080..edda060 100644 --- a/examples/spotify.js +++ b/examples/spotify.js @@ -1,3 +1,5 @@ +'use strict' + const fastify = require('fastify')({ logger: true }) // const oauthPlugin = require('fastify-oauth2') diff --git a/examples/vkontakte.js b/examples/vkontakte.js index a105341..74dd4c2 100644 --- a/examples/vkontakte.js +++ b/examples/vkontakte.js @@ -1,3 +1,5 @@ +'use strict' + const fastify = require('fastify')({ logger: { level: 'trace' } }) // const oauthPlugin = require('fastify-oauth2')