зеркало из
https://github.com/therootcompany/request.js.git
synced 2024-11-16 17:28:58 +00:00
bugfix: return after error callback
Этот коммит содержится в:
родитель
ed2bab931f
Коммит
5f5e0b6066
1
index.js
1
index.js
@ -162,6 +162,7 @@ function setDefaults(defs) {
|
||||
opts.stream = fs.createWriteStream(opts.stream);
|
||||
} catch (e) {
|
||||
cb(e);
|
||||
return;
|
||||
}
|
||||
}
|
||||
// or an existing write stream
|
||||
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user