Skip to content

Commit ac7670a

Browse files
feat: support skip existing swagger data file (#847)
* feat: improve the extension downloader * test pass with the data download skip * fix the unit test failure * upgrade deps * Potential fix for code scanning alert no. 99: Clear-text logging of sensitive information Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --------- Co-authored-by: rick <[email protected]> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent b565347 commit ac7670a

File tree

16 files changed

+18667
-16588
lines changed

16 files changed

+18667
-16588
lines changed

cmd/extension.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (o *extensionOption) runE(cmd *cobra.Command, args []string) (err error) {
7979
err = fmt.Errorf("cannot find %s", arg)
8080
return
8181
}
82-
extFile := o.ociDownloader.GetTargetFile()
82+
extFile := o.ociDownloader.GetTargetFile(arg)
8383
cmd.Println("found target file", extFile)
8484

8585
targetFile := filepath.Base(extFile)

0 commit comments

Comments
 (0)