Skip to content

Commit 07f4038

Browse files
author
benholloway
committed
fixed error messages
1 parent 60f8c74 commit 07f4038

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/build/browserify.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function create(opt) {
5151
getInstance(file.path)
5252
.bundle(this, file.relative)
5353
.catch(function onError(errors) {
54-
messages.push.apply(errors);
54+
messages.push.apply(messages, errors);
5555
})
5656
.finally(done);
5757
}
@@ -99,7 +99,7 @@ function create(opt) {
9999
*/
100100
function getInstance(fileOrFiles) {
101101
var files = [].concat(fileOrFiles);
102-
var key = JSON.stringify(files.sort());
102+
var key = JSON.stringify(files.sort());
103103
if (key in instances) {
104104
return instances[key];
105105
} else {

0 commit comments

Comments
 (0)