File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -219,8 +219,8 @@ export class TypeScriptPlugin {
219
219
const { service } = this . serverless
220
220
221
221
await fs . copy (
222
- path . join ( this . originalServicePath , BUILD_FOLDER , SERVERLESS_FOLDER ) ,
223
- path . join ( this . originalServicePath , SERVERLESS_FOLDER )
222
+ path . join ( this . originalServicePath , SERVERLESS_FOLDER ) ,
223
+ path . join ( this . originalServicePath , BUILD_FOLDER , SERVERLESS_FOLDER )
224
224
)
225
225
226
226
if ( this . options . function ) {
@@ -245,7 +245,7 @@ export class TypeScriptPlugin {
245
245
return
246
246
}
247
247
248
- service . package . artifact = path . join (
248
+ service . package . artifact = service . package . artifact && path . join (
249
249
this . originalServicePath ,
250
250
SERVERLESS_FOLDER ,
251
251
path . basename ( service . package . artifact )
You can’t perform that action at this time.
0 commit comments