Skip to content

Commit

Permalink
fix(misc): logs from rm-default-collection should render properly
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Feb 22, 2024
1 parent dc8f579 commit dc37372
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { formatChangedFilesWithPrettierIfAvailable } from '../../generators/inte
import { Tree } from '../../generators/tree';
import { readNxJson, updateNxJson } from '../../generators/utils/nx-json';
import { readJson } from '../../generators/utils/json';
import { logger } from '../../utils/logger';
import { output } from '../../utils/output';
import { NxJsonConfiguration } from '../../config/nx-json';
import { joinPathFragments } from '../../utils/path';

Expand Down Expand Up @@ -54,7 +54,7 @@ function warnNpmScopeHasChanged(
const packageJsonName = readJson(tree, 'package.json').name;

if (newScope) {
logger.warn({
output.warn({
title: 'npmScope has been removed from nx.json',
bodyLines: [
'This will now be read from package.json',
Expand All @@ -69,7 +69,7 @@ function warnNpmScopeHasChanged(
});
} else {
// There is no scope in package.json
logger.warn({
output.warn({
title: 'npmScope has been removed from nx.json',
bodyLines: [
'This will now be read from package.json',
Expand Down

0 comments on commit dc37372

Please sign in to comment.