chore: trim whitespace when converting staging key to production

This commit is contained in:
鲁树人 2023-06-11 23:19:13 +01:00
parent 37af011d6a
commit 4b57186cd7

View File

@ -37,7 +37,7 @@ const stagingToProduction = (staging: StagingSettings): ProductionSettings => ({
keys: objectify( keys: objectify(
staging.qmc2.keys, staging.qmc2.keys,
(item) => item.name.normalize(), (item) => item.name.normalize(),
(item) => item.key (item) => item.key.trim()
), ),
}, },
}); });