We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83fbf58 commit 20e3710Copy full SHA for 20e3710
module/ar/migrate/migratable/file.go
@@ -285,7 +285,8 @@ func (r *File) Migrate(ctx context.Context) error {
285
if idx == -1 {
286
return fmt.Errorf("file Download url is not correct for NPM")
287
}
288
- tarFileURL := r.file.Uri[:idx]
+ tarFileURL := r.file.Uri
289
+ logger.Info().Msg("Downloading tar file from " + tarFileURL)
290
tarFileReader, _, err := r.srcAdapter.DownloadFile(r.srcRegistry, tarFileURL)
291
if err != nil {
292
logger.Error().Err(err).Msg("Failed to fetch metadata")
0 commit comments