1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.fetchTask = void 0;
|
4 | const parse_fetch_1 = require("../parsers/parse-fetch");
|
5 | function fetchTask(remote, branch, customArgs) {
|
6 | const commands = ['fetch', ...customArgs];
|
7 | if (remote && branch) {
|
8 | commands.push(remote, branch);
|
9 | }
|
10 | return {
|
11 | commands,
|
12 | format: 'utf-8',
|
13 | parser: parse_fetch_1.parseFetchResult,
|
14 | };
|
15 | }
|
16 | exports.fetchTask = fetchTask;
|
17 | //# sourceMappingURL=fetch.js.map |
\ | No newline at end of file |