mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
remove unused code
This commit is contained in:
parent
53ed82a297
commit
72cf0929ae
3 changed files with 0 additions and 29 deletions
10
dist/index.js
vendored
10
dist/index.js
vendored
|
@ -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] : [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue