Skip to content

Commit

Permalink
Do not require custom runtime path for portable projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Nov 22, 2024
1 parent 574ff6b commit 8b4a5af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/state/internal/cmdtree/checkout.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func newCheckoutCommand(prime *primer.Values) *captain.Command {
},
{
Name: "portable",
Description: locale.Tl("flag_state_checkout_portable_description", "Copy files to runtime-path instead of linking to them"),
Description: locale.Tl("flag_state_checkout_portable_description", "Copy files to their runtime path instead of linking to them"),
Value: &params.Portable,
},
{
Expand Down
2 changes: 1 addition & 1 deletion pkg/project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (p *Project) Lock() string { return p.projectfile.Lock }
// Cache returns the cache information for this project
func (p *Project) Cache() string { return p.projectfile.Cache }

func (p *Project) IsPortable() bool { return p.projectfile.Portable && p.projectfile.Cache != "" }
func (p *Project) IsPortable() bool { return p.projectfile.Portable }

// Namespace returns project namespace
func (p *Project) Namespace() *Namespaced {
Expand Down

0 comments on commit 8b4a5af

Please sign in to comment.