diff --git a/grunt/helpers.js b/grunt/helpers.js index 7878d4bcf..7639cfb7b 100644 --- a/grunt/helpers.js +++ b/grunt/helpers.js @@ -210,7 +210,7 @@ module.exports = function(grunt) { const outputdir = appendSlash(grunt.option('outputdir')) || defaults.outputdir; const cachepath = grunt.option('cachepath') || null; const tempdir = outputdir + '.temp/'; - const jsonext = grunt.option('jsonext') || defaults.jsonext; + const jsonext = grunt.option('jsonext') || adaptJSON.jsonext || defaults.jsonext; const coursedir = grunt.option('coursedir') || adaptJSON.coursedir || defaults.coursedir; let languageFolders = '';