File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ export async function postDeploy(
110
110
)
111
111
} else {
112
112
core . info ( nonStickyMsg )
113
- core . debug ( `lockData.sticky: ${ lockData . sticky } ` )
113
+ core . debug ( `lockData.sticky: ${ lockData ? .sticky } ` )
114
114
115
115
// remove the lock - use silent mode
116
116
await unlock (
@@ -154,11 +154,11 @@ export async function postDeploy(
154
154
core . debug ( JSON . stringify ( lockData ) )
155
155
156
156
// if the lock is sticky, we will NOT remove it
157
- if ( lockData . sticky === true ) {
157
+ if ( lockData ? .sticky === true ) {
158
158
core . info ( stickyMsg )
159
159
} else {
160
160
core . info ( nonStickyMsg )
161
- core . debug ( `lockData.sticky: ${ lockData . sticky } ` )
161
+ core . debug ( `lockData.sticky: ${ lockData ? .sticky } ` )
162
162
163
163
// remove the lock - use silent mode
164
164
await unlock (
You can’t perform that action at this time.
0 commit comments