MCPcopy Create free account
hub / github.com/adaptlearning/adapt_framework / check-json.js

File check-json.js

grunt/tasks/check-json.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1module.exports = function(grunt) {
2 const Helpers = require('../helpers')(grunt);
3 grunt.registerTask('check-json', 'Validates the course json, checks for duplicate IDs, and that each element has a parent', function() {
4 // validates JSON files

Callers

nothing calls this directly

Calls 3

runMethod · 0.80
getDataMethod · 0.80
checkIdsMethod · 0.45

Tested by

no test coverage detected