mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Only allow explicit '' deploymentPrefix for empty
This commit is contained in:
parent
a74548da33
commit
cebfde19a8
@ -474,9 +474,7 @@ class AwsProvider {
|
||||
if (!('deploymentPrefix' in provider)) {
|
||||
return 'serverless;
|
||||
}
|
||||
|
||||
const prefix = provider.deploymentPrefix;
|
||||
return (prefix || '') + '';
|
||||
return provider.deploymentPrefix + '';
|
||||
}
|
||||
|
||||
getLogRetentionInDays() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user