Skip to content

Commit

Permalink
Adding migration tips to match manual additions on GitHub release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Nov 2, 2019
1 parent f0315b8 commit 6bfc580
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Expand Up @@ -32,6 +32,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
* removed deprecated `customFds` option from call to `child_process.spawn` ([#1052])
* rework TypeScript declarations to bring all types into imported namespace ([#1081])

### Migration Tips

#### Testing for no arguments

If you were previously using code like:

```js
if (!program.args.length) ...
```

a partial replacement is:

```js
if (program.rawArgs.length < 3) ...
```

## [4.0.0-1] Prerelease (2019-10-08)

(Released in 4.0.0)
Expand Down

0 comments on commit 6bfc580

Please sign in to comment.