File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -1038,10 +1038,7 @@ async function handleNativeBuildServerDeploy({
10381038 return process . exit ( 0 ) ;
10391039 }
10401040
1041- const $queuedSpinner = spinner ( {
1042- cancelMessage :
1043- "Disconnecting from the build server log stream. If you intended to cancel the deployment instead, you can do that in the dashboard." ,
1044- } ) ;
1041+ const $queuedSpinner = spinner ( ) ;
10451042 $queuedSpinner . start ( "Build queued" ) ;
10461043
10471044 const abortController = new AbortController ( ) ;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function truncateMessage(msg: string, maxLength?: number): string {
3737 return truncated + "..." ;
3838}
3939
40- const wrappedClackSpinner = ( options : { cancelMessage ?: string } ) => {
40+ const wrappedClackSpinner = ( ) => {
4141 let currentMessage = "" ;
4242 let isActive = false ;
4343
@@ -47,7 +47,7 @@ const wrappedClackSpinner = (options: { cancelMessage?: string }) => {
4747 }
4848 } ;
4949
50- const spinner = clackSpinner ( options ) ;
50+ const spinner = clackSpinner ( ) ;
5151
5252 return {
5353 start : ( msg ?: string ) : void => {
@@ -112,9 +112,5 @@ const plainSpinner = () => ({
112112
113113// This will become unecessary with the next clack release, the bug was fixed here:
114114// https://github.com/natemoo-re/clack/pull/182
115- export const spinner = ( options : { cancelMessage ?: string ; plain ?: boolean } = { } ) =>
116- options . plain
117- ? plainSpinner ( )
118- : isWindows
119- ? ballmerSpinner ( )
120- : wrappedClackSpinner ( { cancelMessage : options . cancelMessage } ) ;
115+ export const spinner = ( options ?: { plain ?: boolean } = { } ) =>
116+ options . plain ? plainSpinner ( ) : isWindows ? ballmerSpinner ( ) : wrappedClackSpinner ( ) ;
You can’t perform that action at this time.
0 commit comments