Skip to content

Commit

Permalink
cli: combine workdir and output files correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerdev committed Mar 20, 2024
1 parent 370febf commit 27ab5d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/cmd/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ func runSet(cmd *cobra.Command, args []string) error {
fmt.Fprintln(cmd.OutOrStdout(), "✔️ Manifest set successfully")

filelist := map[string][]byte{
path.Join(flags.workspaceDir, coordRootPEMFilename): resp.CoordinatorRoot,
path.Join(flags.workspaceDir, meshRootPEMFilename): resp.MeshRoot,
coordRootPEMFilename: resp.CoordinatorRoot,
meshRootPEMFilename: resp.MeshRoot,
}
if err := writeFilelist(".", filelist); err != nil {
if err := writeFilelist(flags.workspaceDir, filelist); err != nil {
return fmt.Errorf("writing filelist: %w", err)
}

Expand Down

0 comments on commit 27ab5d1

Please sign in to comment.