Skip to content

Commit

Permalink
Use filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzei committed Dec 4, 2024
1 parent 62f7df9 commit 2dc9015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/support_packet.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"path"
"path/filepath"

"github.com/hashicorp/go-multierror"
"github.com/pkg/errors"
Expand Down Expand Up @@ -53,7 +53,7 @@ func (p *Plugin) GenerateSupportData(_ *plugin.Context) ([]*model.FileData, erro
}

return []*model.FileData{{
Filename: path.Join(manifest.Id, "diagnostics.yaml"),
Filename: filepath.Join(manifest.Id, "diagnostics.yaml"),
Body: b,
}}, result.ErrorOrNil()
}

0 comments on commit 2dc9015

Please sign in to comment.