File tree Expand file tree Collapse file tree 2 files changed +201
-73
lines changed Expand file tree Collapse file tree 2 files changed +201
-73
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { Access, Options } from "../options";
4
4
5
5
/**
6
6
* The main entry point of the GitHub Action
7
+ *
7
8
* @internal
8
9
*/
9
10
async function main ( ) : Promise < void > {
@@ -33,11 +34,13 @@ async function main(): Promise<void> {
33
34
console . log (
34
35
`\n📦 ${ results . package } v${ results . version } is already published to NPM`
35
36
) ;
36
- } else if ( results . dryRun ) {
37
+ }
38
+ else if ( results . dryRun ) {
37
39
console . log (
38
40
`\n📦 ${ results . package } v${ results . version } was NOT actually published to NPM (dry run)`
39
41
) ;
40
- } else {
42
+ }
43
+ else {
41
44
console . log (
42
45
`\n📦 Successfully published ${ results . package } v${ results . version } to NPM`
43
46
) ;
@@ -50,7 +53,8 @@ async function main(): Promise<void> {
50
53
setOutput ( "tag" , results . tag ) ;
51
54
setOutput ( "access" , results . access ) ;
52
55
setOutput ( "dry-run" , results . dryRun ) ;
53
- } catch ( error ) {
56
+ }
57
+ catch ( error ) {
54
58
errorHandler ( error as Error ) ;
55
59
}
56
60
}
You can’t perform that action at this time.
0 commit comments