Fix typo in error message.

This commit is contained in:
Brian Donovan
2013-01-02 17:04:00 -08:00
parent 9d5f2fb599
commit 00ea8e8984

View File

@@ -188,7 +188,7 @@ Package.prototype.install = function () {
isRepo(localPath, function (is) {
if (is) {
var err = new Error('Local path is a local repository');
err.details = 'To avoid loosing work, please remove ' + localPath + ' manually.';
err.details = 'To avoid losing work, please remove ' + localPath + ' manually.';
return this.emit('error', err, this);
}