update build

This commit is contained in:
garronej 2021-12-01 22:09:52 +01:00
parent 5fa156a093
commit 2e38b39b5a

2
dist/index.js vendored
View file

@ -12383,7 +12383,7 @@ function action(_actionName, params, core) {
const { owner, repo, branch, github_token } = params;
const to_version = yield getPackageJsonVersion({ owner, repo, branch });
if (to_version === undefined) {
throw new Error("No version in package.json on ${owner}/${repo}#${branch} (or repo is private)");
throw new Error(`No version in package.json on ${owner}/${repo}#${branch} (or repo is private)`);
}
core.debug(`Version on ${owner}/${repo}#${branch} is ${NpmModuleVersion_1.NpmModuleVersion.stringify(to_version)}`);
const octokit = createOctokit_1.createOctokit({ github_token });