fix(migrate): share service command semantics

This commit is contained in:
Mohamed Boudra
2026-07-19 02:01:39 +02:00
parent f2124f8cf9
commit af244d0f02
4 changed files with 44 additions and 9 deletions
@@ -0,0 +1,6 @@
export function normalizeServiceEnvName(scriptName: string): string {
return scriptName
.toUpperCase()
.replace(/[^A-Z0-9]+/g, "_")
.replace(/^_+|_+$/g, "");
}