Skip to content

Commit 69aaff2

Browse files
Fix linting
1 parent b5ff09e commit 69aaff2

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
</h1>
77

88
<!-- ALL-CONTRIBUTORS-BADGE:START -->
9+
910
<a href="https://travis-ci.org/stephencookdev/speed-measure-webpack-plugin"><img src="https://travis-ci.org/stephencookdev/speed-measure-webpack-plugin.svg?branch=master" /></a> <a href="https://npmjs.com/package/speed-measure-webpack-plugin"><img src="https://img.shields.io/npm/dw/speed-measure-webpack-plugin.svg" /></a> <a href="https://npmjs.com/package/speed-measure-webpack-plugin"><img src="https://img.shields.io/node/v/speed-measure-webpack-plugin.svg" /></a> <a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg" /></a> <a href="#contributors"><img src="https://img.shields.io/badge/all_contributors-8-orange.svg" /></a>
11+
1012
<!-- ALL-CONTRIBUTORS-BADGE:END -->
1113

1214
</div>
@@ -198,4 +200,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
198200

199201
<!-- ALL-CONTRIBUTORS-LIST:END -->
200202

201-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
203+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

index.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,12 @@ module.exports = class SpeedMeasurePlugin {
8181
return JSON.stringify(outputObj, null, 2);
8282
if (typeof this.options.outputFormat === "function")
8383
return this.options.outputFormat(outputObj);
84-
return getHumanOutput(outputObj, Object.assign(
85-
{ verbose: this.options.outputFormat === "humanVerbose" },
86-
this.options)
84+
return getHumanOutput(
85+
outputObj,
86+
Object.assign(
87+
{ verbose: this.options.outputFormat === "humanVerbose" },
88+
this.options
89+
)
8790
);
8891
}
8992

0 commit comments

Comments
 (0)