aboutsummaryrefslogtreecommitdiffstats
path: root/JSONSchema
diff options
context:
space:
mode:
authorJared Wasinger <j-wasinger@hotmail.com>2017-07-07 15:32:58 +0800
committerUbuntu <ubuntu@ip-172-31-32-43.us-west-2.compute.internal>2017-08-08 04:41:46 +0800
commit2f1708cc2810d36c37d48d5413677dd5bd8d8406 (patch)
tree984678d06eddac7d3731b66cfce1d9bbabd13ff9 /JSONSchema
parent0e149df882d2782139bc2e4f0e9402b705f922e2 (diff)
downloaddexon-tests-2f1708cc2810d36c37d48d5413677dd5bd8d8406.tar
dexon-tests-2f1708cc2810d36c37d48d5413677dd5bd8d8406.tar.gz
dexon-tests-2f1708cc2810d36c37d48d5413677dd5bd8d8406.tar.bz2
dexon-tests-2f1708cc2810d36c37d48d5413677dd5bd8d8406.tar.lz
dexon-tests-2f1708cc2810d36c37d48d5413677dd5bd8d8406.tar.xz
dexon-tests-2f1708cc2810d36c37d48d5413677dd5bd8d8406.tar.zst
dexon-tests-2f1708cc2810d36c37d48d5413677dd5bd8d8406.zip
remove es6 syntax from validation script.
Diffstat (limited to 'JSONSchema')
-rwxr-xr-xJSONSchema/validate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/JSONSchema/validate.js b/JSONSchema/validate.js
index 1c176e2a8..fa46ac39c 100755
--- a/JSONSchema/validate.js
+++ b/JSONSchema/validate.js
@@ -26,7 +26,7 @@ rl.on('close', function() {
schema = JSON.parse(fs.readFileSync('JSONSchema/schema.json'));
//sort file names alphabetically so that log output ordering is consistent
- fileNames.sort((a,b) => {
+ fileNames.sort(function(a,b) {
if(a<b) {
return -1;
} else {