Fix long command hooks not being recognised

This commit is contained in:
Sam Vervaeck 2023-04-14 20:33:29 +02:00
parent aefba5a175
commit 767572b197
Signed by: samvv
SSH key fingerprint: SHA256:dIg0ywU1OP+ZYifrYxy8c5esO72cIKB+4/9wkZj1VaY

View file

@ -27,7 +27,6 @@ for (let i = 2; i < process.argv.length; i++) {
const arg = process.argv[i];
if (!arg.startsWith('-')) {
commandIndices.push(i);
break;
}
}