File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,8 @@ class Client {
131131 sse ,
132132 routingRules ,
133133 manageResources ,
134- tags ;
134+ tags ,
135+ prefixText ;
135136
136137 return this . _validateConfig ( )
137138 . then ( ( ) => {
@@ -163,13 +164,17 @@ class Client {
163164 routingRules = this . options . routingRules || null ;
164165 tags = this . options . tags || [ ]
165166
167+ if ( keyPrefix ) {
168+ prefixText = `under the prefix '${ keyPrefix } '`
169+ }
170+
166171 const deployDescribe = [ 'This deployment will:' ] ;
167172
168173 if ( this . cliOptions [ 'delete-contents' ] ) {
169174 deployDescribe . push ( `- Remove all existing files from bucket '${ bucketName } '` ) ;
170175 }
171176 deployDescribe . push (
172- `- Upload all files from '${ distributionFolder } ' to bucket '${ bucketName } '`
177+ `- Upload all files from '${ distributionFolder } ' to bucket '${ bucketName } ' ${ prefixText } `
173178 ) ;
174179
175180 if ( this . cliOptions [ 'config-change' ] !== false && manageResources !== false ) {
You can’t perform that action at this time.
0 commit comments