Change template verb.

This commit is contained in:
André Cruz
2012-11-11 17:24:33 +00:00
parent b46e8166cc
commit bd11df44ee

View File

@@ -323,7 +323,7 @@ Package.prototype.download = function () {
Package.prototype.extract = function () {
var file = path.join(this.path, 'index' + this.assetType);
template('action', { name: 'unziping', shizzle: file }).on('data', this.emit.bind(this, 'data'));
template('action', { name: 'extracting', shizzle: file }).on('data', this.emit.bind(this, 'data'));
fs.createReadStream(file).pipe(this.assetType === '.zip' ? unzip.Extract({ path: this.path }) : tar.Extract({ path: this.path }))
.on('error', this.emit.bind(this, 'error'))