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 1- import { RedundancyLevel , Tag , Utils , Reference } from '@ethersphere/bee-js'
1+ import { RedundancyLevel , Reference , Tag , Utils } from '@ethersphere/bee-js'
22import { Numbers , Optional , System } from 'cafe-utility'
33import { Presets , SingleBar } from 'cli-progress'
44import * as FS from 'fs'
@@ -190,7 +190,7 @@ export class Upload extends RootCommand implements LeafCommand {
190190 }
191191
192192 private async uploadAnyWithSpinner ( tag : Tag | undefined , isFolder : boolean ) : Promise < string > {
193- const spinner = createSpinner ( 'Uploading data...' )
193+ const spinner = createSpinner ( this . path ? `Uploading ${ this . path } ...` : 'Uploading data from stdin ...' )
194194
195195 if ( this . verbosity !== VerbosityLevel . Quiet && ! this . curl ) {
196196 spinner . start ( )
@@ -363,7 +363,7 @@ export class Upload extends RootCommand implements LeafCommand {
363363 if ( synced ) {
364364 this . console . dim ( 'Data has been synced on Swarm network' )
365365 } else {
366- this . console . error ( 'Data syncing timeout. ' )
366+ this . console . error ( this . path ? ` 'Data syncing timeout for ${ this . path } '` : 'Data syncing timeout ')
367367 exit ( 1 )
368368 }
369369 }
You can’t perform that action at this time.
0 commit comments