MCPcopy
hub / github.com/appium/appium / verifyAppExtension

Function verifyAppExtension

lib/basedriver/helpers.js:115–122  ·  view source on GitHub ↗
(app, supportedAppExtensions)

Source from the content-addressed store, hash-verified

113}
114
115function verifyAppExtension (app, supportedAppExtensions) {
116 if (supportedAppExtensions.includes(path.extname(app))) {
117 return app;
118 }
119 throw new Error(`New app path '${app}' did not have ` +
120 `${util.pluralize('extension', supportedAppExtensions.length, false)}: ` +
121 supportedAppExtensions);
122}
123
124async function configureApp (app, supportedAppExtensions) {
125 if (!_.isString(app)) {

Callers 1

configureAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…