serverless / serverless-plugin-typescript

Serverless plugin for zero-config Typescript support
MIT License
784 stars 224 forks source link

Fix issue #219 #282

Closed douwe-rm closed 2 years ago

douwe-rm commented 2 years ago

Fixes #219. This fix replaces fs.unlinkSync with fs.removeSync, as fs.removeSync should not be used on directories (such as 'node_modules').

This solves issues that can occur when running sls deploy.

ThallesP commented 2 years ago

hey @medikoo any chance of releasing this fix on NPM? my builds are failing because of this

medikoo commented 2 years ago

@ThallesP released as v2.1.4