UNPKG

simple-git

Version:

Simple GIT interface for node.js

12 lines 423 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("../utils"); const parsers = [ new utils_1.LineParser(/^Renaming (.+) to (.+)$/, (result, [from, to]) => { result.moves.push({ from, to }); }), ]; exports.parseMoveResult = function (stdOut) { return utils_1.parseStringResponse({ moves: [] }, parsers, stdOut); }; //# sourceMappingURL=parse-move.js.map