commands: fix header path, lazy require, hardcoded strings #7
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type
bug
type
config
type
deployment
type
docs
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type
research
type
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/daw-module-manager#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Findings
1. Wrong prefix in header comment (init.lua)
src/daw/module_manager/init.luashould beinit.lua(nosrc/prefix).2. Lazy require in cmd_list
require("daw.common.sys")is called insidecmd_list()instead ofat the top level. No circular dependency identified. Should be top-level.
3. Hardcoded English strings (cmd_list)
out:write("No modules installed in " .. ctx.modules_dir)and theformat string in the module listing are hardcoded English.
Language resolution not yet applied here.
Tracked in: DAW/daw-modul-berhtjan-cli#6 (language concept)
Note: contribution.json may also need review once language concept is settled.
Acceptance Criteria
require("daw.common.sys")moved to top-level in commands.lua