MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / concatProperty

Method concatProperty

tools/mcpack.js:998–1002  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

996 }
997 }
998 concatProperty(array, value) {
999 if ((value instanceof Array) || (typeof value == "string"))
1000 return array.concat(value);
1001 return array;
1002 }
1003 filterManifestFile(path) {
1004 const parts = this.splitPath(path);
1005 if ("tls" === parts.name) parts.name = "manifest"; // workaround for tls.json which doesn't follow naming convention

Callers 1

concatPropertiesMethod · 0.45

Calls 1

concatMethod · 0.65

Tested by

no test coverage detected