We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a0f79b commit 0598362Copy full SHA for 0598362
1 file changed
src/sentinel/hotpatch.ts
@@ -39,6 +39,8 @@ export async function hotpatch(this: Sentinel, hotpatchType: HotpatchType, by: s
39
switch (hotpatchType) {
40
case 'code': {
41
$`git pull`;
42
+ // Run npm install if package-lock.json has been updated
43
+ $`if git diff --name-only '@{1}' -- package-lock.json | grep -q .; then npm install; fi`;
44
break;
45
}
46
0 commit comments