Simplify bar plugin management (#6435)

This commit is contained in:
David Heinemeier Hansson authored and GitHub committed 2026-07-29 22:39:55 -04:00
1 parent 3304b79c92
commit 57ea0b4cd0
26 files changed
+886 -835

No files matched your search

+1 -1
View File
@@ -221,7 +221,7 @@ const pluginAdd = fs.readFileSync(path.join(root, 'bin/omarchy-plugin-add'), 'ut
const pluginEnable = fs.readFileSync(path.join(root, 'bin/omarchy-plugin-enable'), 'utf8')
assert(
/Now using \$id as the bar/.test(pluginEnable)
&& /Now using \$id as the bar[\s\S]*?place_bar_widget/.test(pluginAdd),
&& /omarchy-plugin-enable "\$id" "\$\{ENABLE_PLACEMENT\[@\]\}"/.test(pluginAdd),
'plugin enable reports a bar as replacing the one in use, whether enabled or freshly added'
)
assert(