Commit Graph

16 Commits

Author SHA1 Message Date
alexander.akait 93743d233a refactor: code 2024-08-02 19:32:31 +03:00
alexander.akait 5725254415 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait a592b62686 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait e381884115 refactor(types): more 2023-06-21 19:00:24 +03:00
Sean Larkin 30e9d70ac2 refactor(ErrorHelpers): Make error helpers named functions; add types 2023-03-31 08:07:02 -07:00
Tobias Speicher 8f56fcba72
Replace deprecated String.prototype.substr()
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-13 22:54:18 +01:00
Tobias Koppers 1070ce925b remove Array.prototype.reduce calls to simplify code 2020-01-17 18:31:29 +01:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Florent Cailhol 2a9452e51b Add brackets for multiline if/for statements 2018-05-29 15:45:44 +02:00
Josh Soref 0a68e29ea4 spelling: options 2018-02-26 02:36:44 +00:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
EugeneHlushko 2aab060f26 Refactor: indexOf >< checks to includes 2018-01-11 18:58:39 +02:00
Sergey a164854a4c
Fix lint error 2017-11-27 09:38:03 +01:00
Sergey Petushkov 6d7df9daad Add marker fn; Refactor cutOff method; Check error when options are parsed 2017-11-27 08:43:27 +01:00
Sergey Petushkov b0fe0138ee Add error helpers; Add try-catch to options evaluation 2017-11-25 21:49:59 +01:00
Tobias Koppers 751fd9bbc4 add stack to non-Error error emitted
add info about emitting an Error

#4518
2017-03-22 13:29:40 +01:00