Microsoft/fast-dna

View on GitHub
build/convert-schemas.js

Summary

Maintainability
A
1 hr
Test Coverage

Function copySchemaFiles has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function copySchemaFiles() {
    const resolvedSrcSchemaPaths = path.resolve(rootDir, srcSchemaPaths);

    glob.sync(resolvedSrcSchemaPaths, void 0).forEach(function(filePath) {
        let destSchemaPath = filePath.replace(/(\bsrc\b)(?!.*\1)/, destDir);
Severity: Minor
Found in build/convert-schemas.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status