mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Remove /tmp/node-dependencies*
Because `node-dependencies-*` remains below `/tmp/`
This commit is contained in:
parent
0e60b12a71
commit
e34ebec061
@ -222,6 +222,12 @@ function excludeNodeDevDependencies(servicePath) {
|
||||
|
||||
return exAndIn;
|
||||
})
|
||||
.then(() => {
|
||||
// cleanup
|
||||
fs.unlinkSync(nodeDevDepFile);
|
||||
fs.unlinkSync(nodeProdDepFile);
|
||||
return exAndIn;
|
||||
})
|
||||
.catch(() => exAndIn);
|
||||
} catch (e) {
|
||||
// fail silently
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user