Skip to content

Commit

Permalink
Merge 46557ce into b93c40f
Browse files Browse the repository at this point in the history
  • Loading branch information
buttilda committed Apr 30, 2019
2 parents b93c40f + 46557ce commit 296da60
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -2,7 +2,6 @@ language: node_js
node_js:
- 'node'
- '10'
- '8'
os:
- windows
- linux
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [3.0.0] - 2019-04-30

### Changed

- Drop support for Node.js versions older than version 10

## [2.0.0] - 2018-10-28

### Changed
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "nice-try",
"version": "2.0.0",
"version": "3.0.0",
"authors": [
"Tobias Reich <tobias@electerious.com>"
],
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -7,6 +7,6 @@
*/
module.exports = function(fn) {

try { return fn() } catch (e) {}
try { return fn() } catch {}

}

0 comments on commit 296da60

Please sign in to comment.