MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / validate

Function validate

lib/models/command.js:36–43  ·  view source on GitHub ↗
(data, k, val)

Source from the content-addressed store, hash-verified

34nopt.typeDefs.gitUrl = {
35 type: 'gitUrl',
36 validate(data, k, val) {
37 if (isGitRepo(val)) {
38 data[k] = val;
39 return true;
40 } else {
41 return false;
42 }
43 },
44};
45
46/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…