Skip to content

Conversation

@vladimir-kotikov
Copy link
Member

JIRA: CB-10644

} catch (err) {
// Check if platform already compatible w/ PlatformApi and show deprecation warning
if (err && err.code === 'MODULE_NOT_FOUND' && platforms[platform].apiCompatibleSince) {
events.emit('warn', 'The support for cordova-' + platform + ' via PlatformApi polyfill ' +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of leaking internal implementation detail we should consider re-phrasing this as:
"Using this version of cordova CLI with older version of cordova- is being deprecated. Consider upgrading to..."

@vladimir-kotikov
Copy link
Member Author

@nikhilkh, updated

@nikhilkh
Copy link
Contributor

LGTM

@asfgit asfgit closed this in 96cd416 Feb 24, 2016
@vladimir-kotikov vladimir-kotikov deleted the CB-10644 branch February 24, 2016 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants