remove unused code

This commit is contained in:
Peter Evans 2024-08-09 16:40:41 +00:00
parent 822f3b39c1
commit c1be170c86
3 changed files with 0 additions and 29 deletions

10
dist/index.js vendored
View file

@ -746,16 +746,6 @@ class GitCommandManager {
return output.exitCode === 1;
});
}
getChangedFiles(options) {
return __awaiter(this, void 0, void 0, function* () {
const args = ['diff', '--name-only'];
if (options) {
args.push(...options);
}
const output = yield this.exec(args);
return output.stdout.split('\n').filter(filename => filename != '');
});
}
isDirty(untracked, pathspec) {
return __awaiter(this, void 0, void 0, function* () {
const pathspecArgs = pathspec ? ['--', ...pathspec] : [];