bcgov/vue-scaffold

View on GitHub
app/lcov-fix.js

Summary

Maintainability
A
3 hrs
Test Coverage

Showing 1 of 1 total issue

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

fs.readFile(file, 'utf8', (err, data) => {
if (err) {
return console.error(err); // eslint-disable-line no-console
}
const result = data.replace(/src/g, `${process.cwd()}/src`);
Severity: Major
Found in app/lcov-fix.js and 1 other location - About 3 hrs to fix
app/frontend/lcov-fix.js on lines 6..15

There are no issues that match your filters.

Category
Status