Fix typo in commands-cordova

This commit is contained in:
Matthew Arbesfeld
2014-08-13 15:08:10 -07:00
parent e9b9132a04
commit 6dabb68925

View File

@@ -188,7 +188,7 @@ cordova.ensureCordovaPlatforms = function (localPath) {
if (! platformsStrings)
throw new Error('Failed to parse the output of `cordova platform list`: ' +
platofrmsList.stdout);
platformsList.stdout);
var installedPlatforms = _.map(platformsStrings.split(', '), function (s) {
return s.split(' ')[0];