Skip to content

Commit

Permalink
Fix serverless#240 No file matches include / exclude patterns when us…
Browse files Browse the repository at this point in the history
…ing Layers
  • Loading branch information
harigel committed Mar 4, 2024
1 parent c23faad commit 9e8d9b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ export class TypeScriptPlugin {

const emitedFiles = await typescript.run(this.rootFileNames, tsconfig)
this.serverless.cli.log('Typescript compiled.')

// Restore service path
this.serverless.config.servicePath = this.originalServicePath;

return emitedFiles
}

Expand Down

0 comments on commit 9e8d9b3

Please sign in to comment.