ideasonpurpose/docker-build

View on GitHub
lib/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

export 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 lib/prettier-hrtime.js and 1 other location - About 5 hrs to fix
prettier-hrtime.js on lines 5..18

There are no issues that match your filters.

Category
Status