refactor(pure): remove duplicate regex and dead empty-string guard

This commit is contained in:
dev
2026-06-01 15:24:55 -05:00
parent e0540468c3
commit 545cf65beb
2 changed files with 2 additions and 4 deletions
+1
View File
@@ -30,4 +30,5 @@ test('parseTarget: rejects invalid input', () => {
assert.equal(parseTarget(undefined), null);
assert.equal(parseTarget('25M.5'), null);
assert.equal(parseTarget('1.5.5M'), null);
assert.equal(parseTarget('0'), null);
});