Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions save.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ func saveMain(_ *cobra.Command, args []string) error {
return err
}
switch licenseType {
case licenses.Restricted, licenses.Reciprocal:
case licenses.Restricted:
// Copy the entire source directory for the library.
libDir := filepath.Dir(lib.LicensePath)
if err := copySrc(libDir, libSaveDir); err != nil {
return err
}
case licenses.Notice, licenses.Permissive, licenses.Unencumbered:
case licenses.Notice, licenses.Permissive, licenses.Unencumbered, licenses.Reciprocal:
// Just copy the license and copyright notice.
if err := copyNotices(lib.LicensePath, libSaveDir); err != nil {
return err
Expand Down