diff --git a/src/git/doGitDiff.ts b/src/git/doGitDiff.ts deleted file mode 100644 index 8281a24f..00000000 --- a/src/git/doGitDiff.ts +++ /dev/null @@ -1,10 +0,0 @@ -import spawn from "../utils/spawn.js"; -import gitLogger from "./utils/gitLogger.js"; - -export default async function gitDiff() { - return ( - await spawn("git", ["--no-pager", "diff", "--name-only"], gitLogger) - ).stdout - .trim() - .split("\n"); -} diff --git a/src/index.ts b/src/index.ts index 6ca9c322..be90664f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,7 +21,6 @@ export { default as gitSetRefOnCommit } from "./git/doGitSetRefOnCommit.js"; export { default as gitDeleteRemoteBranch } from "./git/doGitPushDelete.js"; export { default as gitPublishBranch } from "./git/doGitPublishBranch.js"; export { default as gitReset } from "./git/doGitReset.js"; -export { default as gitDiff } from "./git/doGitDiff.js"; export { default as npmBumpVersion } from "./npm/doNpmBumpVersion.js"; export { default as npmPublish } from "./npm/doNpmPublish.js";