Merge pull request #1584 from vlajos/typofixes20141102

typo fixes
This commit is contained in:
Sindre Sorhus
2015-01-04 23:54:32 +07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ function help(logger, name) {
})
.then(function (exists) {
if (!exists) {
throw createError('Unknown command: ' + name, 'EUNKOWNCMD', {
throw createError('Unknown command: ' + name, 'EUNKNOWNCMD', {
command: name
});
}

View File

@@ -827,7 +827,7 @@ Manager.prototype._storeResolution = function (pick) {
*
* It is used in two situations:
* * checks if resolved component matches dependency constraint
* * checks if not resolved component matches alredy fetched component
* * checks if not resolved component matches already fetched component
*
* If candidate matches already resolved component, it won't be downloaded.
*