From a729239e6f51350eefa795a39be82db5c1f67b80 Mon Sep 17 00:00:00 2001 From: Jonathan Goldwasser Date: Tue, 13 Jun 2017 22:59:32 +0200 Subject: [PATCH] Invoke strict mode in scripts Fixes #37 --- update.js | 2 ++ upload.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/update.js b/update.js index 1527763f..b816a055 100755 --- a/update.js +++ b/update.js @@ -1,5 +1,7 @@ #!/usr/bin/env node +'use strict' + const fs = require('fs') const relative = require('require-relative') diff --git a/upload.js b/upload.js index 8de70fe4..711d9824 100755 --- a/upload.js +++ b/upload.js @@ -1,5 +1,7 @@ #!/usr/bin/env node +'use strict' + const exec = require('child_process').execSync const url = require('url')