mirror of
https://github.com/appium/appium.git
synced 2026-01-26 04:09:05 -06:00
fix typeof syntax
This commit is contained in:
@@ -378,7 +378,7 @@ var replacementText = _.template(
|
||||
|
||||
exports.formatDeprecationWarning = function (kind, deprecated, replacement) {
|
||||
var warning = warningText({kind: kind, deprecated: deprecated});
|
||||
if (typeof(replacement) !== 'undefined') {
|
||||
if (typeof replacement !== 'undefined') {
|
||||
warning += replacementText({kind: kind, replacement: replacement});
|
||||
}
|
||||
return warning;
|
||||
|
||||
Reference in New Issue
Block a user