aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/state.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-11-25 10:39:33 +0900
committerOphestra <cat@gensokyo.uk>2026-11-25 10:39:33 +0900
commitfe25e7f1d85422c4eae8204c24a5057e15734eb5 (patch)
tree52ea7c2d06448b677598c06e0d89c5ff4d6b99d1 /internal/rosa/state.go
parent89471826eafe076e90fdfb93c69884d82fb52893 (diff)
internal/rosa: rename enter argument
This is a lot easier to type and cleaner to read. There is no ambiguity here since namespaces are an internal detail and no other directories may be entered this way. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/state.go')
-rw-r--r--internal/rosa/state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/state.go b/internal/rosa/state.go
index ac709122..ddf34681 100644
--- a/internal/rosa/state.go
+++ b/internal/rosa/state.go
@@ -1017,7 +1017,7 @@ func (s *S) getFrame() azalea.Frame {
if err = args.Apply(map[unique.Handle[azalea.Ident]]any{
k("append"): &attr.Append,
k("buildIsolation"): &attr.BuildIsolation,
- k("enterSource"): &attr.EnterSource,
+ k("enter"): &attr.EnterSource,
k("install"): &attr.Install,
k("check"): &scriptCheck,
k("postInstall"): &attr.Script,
@@ -1156,7 +1156,7 @@ func (ctx *evalContext) pf(
k("writable"): &attr.Writable,
k("chmod"): &attr.Chmod,
- k("enterSource"): &attr.EnterSource,
+ k("enter"): &attr.EnterSource,
k("env"): &attr.Env,
k("early"): &attr.ScriptEarly,
k("bin"): &attr.Bin,