style: fix prettier style
This commit is contained in:
parent
4d581fc140
commit
3e4bb40990
8
index.js
8
index.js
@ -76,9 +76,7 @@ async function run(context, plugins) {
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (!(await isBranchUpToDate(options.repositoryUrl, context.branch.name, {cwd, env}))) {
|
if (!(await isBranchUpToDate(options.repositoryUrl, context.branch.name, {cwd, env}))) {
|
||||||
logger.log(
|
logger.log(
|
||||||
`The local branch ${
|
`The local branch ${context.branch.name} is behind the remote one, therefore a new version won't be published.`
|
||||||
context.branch.name
|
|
||||||
} is behind the remote one, therefore a new version won't be published.`
|
|
||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -130,9 +128,7 @@ async function run(context, plugins) {
|
|||||||
|
|
||||||
if (context.lastRelease.gitTag) {
|
if (context.lastRelease.gitTag) {
|
||||||
logger.log(
|
logger.log(
|
||||||
`Found git tag ${context.lastRelease.gitTag} associated with version ${context.lastRelease.version} on branch ${
|
`Found git tag ${context.lastRelease.gitTag} associated with version ${context.lastRelease.version} on branch ${context.branch.name}`
|
||||||
context.branch.name
|
|
||||||
}`
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
logger.log(`No git tag version found on branch ${context.branch.name}`);
|
logger.log(`No git tag version found on branch ${context.branch.name}`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user