From ba253f03f361fe556207f30867e45f8ecc0f1892 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Wed, 18 Oct 2023 18:09:46 +0100 Subject: [PATCH] chore(benchmark): add missing `use strict` directives --- benchmark/compiling.js | 2 ++ benchmark/index.js | 2 ++ benchmark/kind.js | 2 ++ benchmark/matching.js | 2 ++ 4 files changed, 8 insertions(+) diff --git a/benchmark/compiling.js b/benchmark/compiling.js index 537415e..7638727 100644 --- a/benchmark/compiling.js +++ b/benchmark/compiling.js @@ -1,3 +1,5 @@ +'use strict' + /** * Globals for benchmark.js */ diff --git a/benchmark/index.js b/benchmark/index.js index 325a305..4b5af22 100644 --- a/benchmark/index.js +++ b/benchmark/index.js @@ -1,3 +1,5 @@ +'use strict' + const fs = require('node:fs') const path = require('node:path') const spawn = require('node:child_process').spawn diff --git a/benchmark/kind.js b/benchmark/kind.js index 50081f5..239ccf9 100644 --- a/benchmark/kind.js +++ b/benchmark/kind.js @@ -1,3 +1,5 @@ +'use strict' + /** * Globals for benchmark.js */ diff --git a/benchmark/matching.js b/benchmark/matching.js index 2bcfabb..d584c68 100644 --- a/benchmark/matching.js +++ b/benchmark/matching.js @@ -1,3 +1,5 @@ +'use strict' + /** * Globals for benchmark.js */