Commit Graph

8 Commits

Author SHA1 Message Date
Mikhail Silaev 1e9049d0ef Codestyle fix 2017-11-07 18:21:01 +03:00
Mikhail Silaev 3a7b0ebc43 Fixing sindresorhus/got#394 2017-11-07 18:19:52 +03:00
Sindre Sorhus b456b7994e Simplify the code by using `p-finally`
Closes #1
2017-07-02 03:41:51 +02:00
Sindre Sorhus 33c1e31d79 Make sure the timeout is positive 2017-05-14 22:03:00 +07:00
Sindre Sorhus 1547fe2c7f Define error name manually so it will work when minified 2017-05-14 21:59:23 +07:00
Sindre Sorhus 7d46b457c3 Allow `Infinity` timeout
Could be useful if the user doesn’t want a timeout based on a conditional.
2017-05-14 21:58:43 +07:00
Sindre Sorhus e6bed583f6 Simplify error 2016-11-23 11:57:27 +07:00
Sindre Sorhus b07580fbdb init 2016-10-21 13:42:17 +07:00