UNPKG

eas-cli

Version:
14 lines (13 loc) 494 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BranchNotFoundError = exports.getDefaultBranchNameAsync = void 0; async function getDefaultBranchNameAsync(vcsClient) { return await vcsClient.getBranchNameAsync(); } exports.getDefaultBranchNameAsync = getDefaultBranchNameAsync; class BranchNotFoundError extends Error { constructor(message) { super(message ?? 'Branch not found.'); } } exports.BranchNotFoundError = BranchNotFoundError;