Skip to content

Commit ac1d740

Browse files
committed
chore: add coverage badges and improve changelog
1 parent e272952 commit ac1d740

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ All notable changes to this project will be documented in this file. See [standa
1919
### Bug Fixes
2020

2121
* fix certain arguments not being correctly escaped or causing batch syntax error ([900cf10](https://github.com/moxystudio/node-cross-spawn/commit/900cf10)), closes [#82](https://github.com/moxystudio/node-cross-spawn/issues/82) [#51](https://github.com/moxystudio/node-cross-spawn/issues/51)
22-
* fix commands as posix unix relatixe paths not working correctly ([900cf10](https://github.com/moxystudio/node-cross-spawn/commit/900cf10))
22+
* fix commands as posix relatixe paths not working correctly, e.g.: `./my-command` ([900cf10](https://github.com/moxystudio/node-cross-spawn/commit/900cf10))
2323
* fix `options` argument being mutated ([900cf10](https://github.com/moxystudio/node-cross-spawn/commit/900cf10))
2424
* fix commands resolution when PATH was actually Path ([900cf10](https://github.com/moxystudio/node-cross-spawn/commit/900cf10))
2525

@@ -38,7 +38,7 @@ All notable changes to this project will be documented in this file. See [standa
3838

3939
### BREAKING CHANGES
4040

41-
* remove support for older nodejs versions, only node >= 4 is supported
41+
* remove support for older nodejs versions, only `node >= 4` is supported
4242

4343

4444
<a name="5.1.0"></a>

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# cross-spawn
22

3-
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Build status][appveyor-image]][appveyor-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url] [![Greenkeeper badge][greenkeeper-image]][greenkeeper-url]
3+
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Build status][appveyor-image]][appveyor-url] [![Coverage Status][codecov-image]][codecov-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url] [![Greenkeeper badge][greenkeeper-image]][greenkeeper-url]
44

55
[npm-url]:https://npmjs.org/package/cross-spawn
66
[downloads-image]:http://img.shields.io/npm/dm/cross-spawn.svg
@@ -9,6 +9,8 @@
99
[travis-image]:http://img.shields.io/travis/moxystudio/node-cross-spawn/master.svg
1010
[appveyor-url]:https://ci.appveyor.com/project/satazor/node-cross-spawn
1111
[appveyor-image]:https://img.shields.io/appveyor/ci/satazor/node-cross-spawn/master.svg
12+
[codecov-url]:https://codecov.io/gh/moxystudio/node-cross-spawn
13+
[codecov-image]:https://img.shields.io/codecov/c/github/moxystudio/node-cross-spawn/master.svg
1214
[david-dm-url]:https://david-dm.org/moxystudio/node-cross-spawn
1315
[david-dm-image]:https://img.shields.io/david/moxystudio/node-cross-spawn.svg
1416
[david-dm-dev-url]:https://david-dm.org/moxystudio/node-cross-spawn?type=dev
@@ -45,13 +47,13 @@ Exactly the same way as node's [`spawn`](https://nodejs.org/api/child_process.ht
4547

4648

4749
```js
48-
var spawn = require('cross-spawn');
50+
const spawn = require('cross-spawn');
4951

5052
// Spawn NPM asynchronously
51-
var child = spawn('npm', ['list', '-g', '-depth', '0'], { stdio: 'inherit' });
53+
const child = spawn('npm', ['list', '-g', '-depth', '0'], { stdio: 'inherit' });
5254

5355
// Spawn NPM synchronously
54-
var results = spawn.sync('npm', ['list', '-g', '-depth', '0'], { stdio: 'inherit' });
56+
const result = spawn.sync('npm', ['list', '-g', '-depth', '0'], { stdio: 'inherit' });
5557
```
5658

5759

0 commit comments

Comments
 (0)