mirror of
https://github.com/github/codeql.git
synced 2026-01-06 11:10:23 +01:00
4 lines
75 B
JavaScript
4 lines
75 B
JavaScript
if (!/^[a-z0-9]*$/.test(id)) {
|
|
throw new Error("Invalid id: " + id);
|
|
}
|