Remove deprecated check (#14809)

as title
Thanks @Devessier for the report
This commit is contained in:
martmull
2025-10-01 12:24:37 +02:00
committed by GitHub
parent 346da2b2f2
commit bc37a3a9bb
@@ -132,10 +132,6 @@ export class LocalDriver implements ServerlessDriver {
await fs.writeFile(compiledCodeFilePath, compiledCode, 'utf8');
try {
if (!serverlessFunction.layerVersion) {
throw new Error('Layer version is not set');
}
await fs.symlink(
join(
this.getInMemoryLayerFolderPath(serverlessFunction),