Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core installDependencies 优化 #218

Closed
heimanba opened this issue Sep 28, 2021 · 1 comment
Closed

core installDependencies 优化 #218

heimanba opened this issue Sep 28, 2021 · 1 comment
Assignees

Comments

@heimanba
Copy link
Member

heimanba commented Sep 28, 2021

现有逻辑有些问题

image

解法

installDependencies(xxx,{
    graceInstall: true
}); 
  1. package.json (内容)=> md5(xxxdde),=> 当前项目的 .s下面
  2. 判断md5有没有变化,有变化删掉,就去重新安装
@xsahxl
Copy link
Collaborator

xsahxl commented Sep 30, 2021

fix: Serverless-Devs/core@769c1df

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants