diff options
author | Jared Wasinger <j-wasinger@hotmail.com> | 2017-07-07 15:32:58 +0800 |
---|---|---|
committer | Ubuntu <ubuntu@ip-172-31-32-43.us-west-2.compute.internal> | 2017-08-08 04:41:46 +0800 |
commit | 2f1708cc2810d36c37d48d5413677dd5bd8d8406 (patch) | |
tree | 984678d06eddac7d3731b66cfce1d9bbabd13ff9 /JSONSchema | |
parent | 0e149df882d2782139bc2e4f0e9402b705f922e2 (diff) | |
download | tangerine-tests-2f1708cc2810d36c37d48d5413677dd5bd8d8406.tar.gz tangerine-tests-2f1708cc2810d36c37d48d5413677dd5bd8d8406.tar.zst tangerine-tests-2f1708cc2810d36c37d48d5413677dd5bd8d8406.zip |
remove es6 syntax from validation script.
Diffstat (limited to 'JSONSchema')
-rwxr-xr-x | JSONSchema/validate.js | 2 |
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 { |