File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ export async function convert(
64
64
if ( await maybeFetch ( path , force , effects ) ) {
65
65
start = Date . now ( ) ;
66
66
s = clack . spinner ( ) ;
67
- s . start ( `Downloading ${ bold ( file . name ) } ` ) ;
67
+ s . start ( `Downloading ${ bold ( path ) } ` ) ;
68
68
const response = await fetch ( file . download_url ) ;
69
69
if ( ! response . ok ) throw new Error ( `error fetching ${ file . download_url } : ${ response . status } ` ) ;
70
70
const buffer = Buffer . from ( await response . arrayBuffer ( ) ) ;
71
- s . stop ( `Downloaded ${ bold ( file . name ) } ${ faint ( `in ${ ( Date . now ( ) - start ) . toLocaleString ( "en-US" ) } ms` ) } ` ) ;
71
+ s . stop ( `Downloaded ${ bold ( path ) } ${ faint ( `in ${ ( Date . now ( ) - start ) . toLocaleString ( "en-US" ) } ms` ) } ` ) ;
72
72
await effects . prepareOutput ( path ) ;
73
73
await effects . writeFile ( path , buffer ) ;
74
74
await effects . touch ( path , file . create_time ) ;
You can’t perform that action at this time.
0 commit comments