ideasonpurpose/docker-build

View on GitHub
prettier-hrtime.js

Summary

Maintainability
B
5 hrs
Test Coverage

Showing 1 of 1 total issue

Identical blocks of code found in 2 locations. Consider refactoring.
Open

const prettierHrtime = hrtime => {
let timeString;
const seconds = hrtime[1] > 5e6 ? " seconds" : " second";
if (hrtime[0] > 60) {
timeString = prettyHrtime(hrtime, { verbose: true })
Severity: Major
Found in prettier-hrtime.js and 1 other location - About 5 hrs to fix
lib/prettier-hrtime.js on lines 3..16
Category
Status