Skip to content

Commit 3f2157a

Browse files
committed
fix: fix deps updater log
1 parent 4bb185c commit 3f2157a

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/commands/package/outdated-dependencies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class extends Command {
3333
cache,
3434
} );
3535

36-
if ( res.ok && !res.data?.updates ) continue;
36+
if ( !res.data?.log ) continue;
3737

3838
if ( printNewLine ) {
3939
console.log();

lib/commands/package/update-dependencies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default class extends Command {
4848
"commit": process.cli.options.commit,
4949
} );
5050

51-
if ( res.ok && !res.data?.log ) continue;
51+
if ( !res.data?.log ) continue;
5252

5353
if ( printNewLine ) {
5454
console.log();

lib/commands/workspace/outdated-dependencies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default class extends Command {
7171
var hasErrors, printNewLine;
7272

7373
while ( ( res = await threads.getResult() ) ) {
74-
if ( res.ok && !res.data?.updates ) continue;
74+
if ( !res.data?.log ) continue;
7575

7676
const pkg = res.data.package;
7777

lib/commands/workspace/update-dependencies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default class extends Command {
9090
var hasErrors, printNewLine;
9191

9292
while ( ( res = await threads.getResult() ) ) {
93-
if ( res.ok && !res.data?.log ) continue;
93+
if ( !res.data?.log ) continue;
9494

9595
const pkg = res.data.package;
9696

0 commit comments

Comments
 (0)