diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 2fedda8..2eec1b1 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -1,4 +1,5 @@ #!/bin/sh bun run check || exit 1 -bun run build || exit 1 \ No newline at end of file +bun run build || exit 1 +git add ./public/bundle.js \ No newline at end of file diff --git a/public/bundle.js b/public/bundle.js index a5e256c..5e66a98 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -1,5 +1,5 @@ //// -// version: 178711c +// version: 8075fac // src/js/dom.ts var content2 = $("content"); @@ -741,7 +741,7 @@ function handleCompletion(e) { const input = cmdInput.value; for (const command of Object.keys(commands)) { if (command.startsWith(input)) { - cmdInput.value = command; + cmdInput.value = command + " "; return; } }