don't write when there is nothing to do
This commit is contained in:
parent
bf44136ec0
commit
536458b763
@ -969,6 +969,7 @@ async function main() {
|
|||||||
|
|
||||||
if (update) {
|
if (update) {
|
||||||
for (const mode of Object.keys(deps)) {
|
for (const mode of Object.keys(deps)) {
|
||||||
|
if (!Object.keys(deps[mode]).length) continue;
|
||||||
try {
|
try {
|
||||||
let fn;
|
let fn;
|
||||||
if (mode === "npm") {
|
if (mode === "npm") {
|
||||||
|
Loading…
Reference in New Issue
Block a user