mirror of
https://github.com/bower/bower.git
synced 2026-02-11 22:44:58 -05:00
More succinct again.
This commit is contained in:
@@ -13,14 +13,8 @@ function cmd(command, args, options) {
|
||||
deferred = Q.defer();
|
||||
|
||||
process = cp.spawn(command, args, options);
|
||||
|
||||
process.stdout.on('data', function (data) {
|
||||
stdout += data.toString();
|
||||
});
|
||||
|
||||
process.stderr.on('data', function (data) {
|
||||
stderr += data.toString();
|
||||
});
|
||||
process.stdout.on('data', function (data) { stdout += data.toString(); });
|
||||
process.stderr.on('data', function (data) { stderr += data.toString(); });
|
||||
|
||||
process.on('exit', function (code) {
|
||||
var fullCommand,
|
||||
|
||||
Reference in New Issue
Block a user