MCPcopy Create free account
hub / github.com/adaptlearning/adapt_framework / undressPathIndex

Function undressPathIndex

grunt/tasks/migration.js:23–29  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

21 }
22
23 function undressPathIndex(object) {
24 const clone = { ...object };
25 delete clone.__index__;
26 delete clone.__path__;
27 delete clone.__jsonext__;
28 return clone;
29 }
30
31 grunt.registerTask('migration', 'Migrate from one version to another', function(mode) {
32 const next = this.async();

Callers 1

migration.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected