src/main.js
changed.
Showing 1 of 1 files from the diff.
@@ -31,7 +31,7 @@
Loading
31 | 31 | // Attach this before anything else to provide status output |
|
32 | 32 | this.app.use((req, res, next) => { |
|
33 | 33 | res.on('finish', function () { |
|
34 | - | const color = this.statusCode === '404' ? chalk.red : chalk.green; |
|
34 | + | const color = this.statusCode === 404 ? chalk.red : chalk.green; |
|
35 | 35 | let msg = `${color(this.statusCode)} ${this.req.originalUrl}`; |
|
36 | 36 | const encoding = this.getHeader('content-encoding'); |
|
37 | 37 | if (encoding) { |
Files | Coverage |
---|---|
src | 27.98% |
Project Totals (6 files) | 27.98% |
1348967542
1348967542
1348967542
1348967542
1348967542
1348967542
1348967542
1348967542
1348967542
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.