packages/schema-diff/src/index.ts
File index.ts
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (C) 2022 SensibleMetrics, Inc. (http://sensiblemetrics.io/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Function getBranchDrift
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
new Promise((resolve, reject) => {
let output = ""
const delta = spawn("git", [
"rev-list",
"--left-right",
Function getChangedFiles
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
new Promise((resolve, reject) => {
let changedBlob = ""
const changed = spawn("git", ["diff", "--name-status", "--relative", "origin/master"])
changed.stdout.on("data", (data) => {
changedBlob += data