Skip to content

Commit

Permalink
Use minimal info logging
Browse files Browse the repository at this point in the history
  • Loading branch information
0x80 committed Apr 22, 2024
1 parent a54f7e3 commit bfa68fb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/isolate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export async function isolate(
path.join(path.join(__dirname, "..", "package.json"))
);

log.debug("Using isolate-package version", libraryVersion);
log.info("Using isolate-package version", libraryVersion);

/**
* If a targetPackagePath is set, we assume the configuration lives in the
Expand Down
2 changes: 1 addition & 1 deletion src/lib/lockfile/helpers/generate-npm-lockfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export async function generateNpmLockfile({
}) {
const log = useLogger();

log.info("Generating NPM lockfile...");
log.debug("Generating NPM lockfile...");

const origRootNodeModulesPath = path.join(workspaceRootDir, "node_modules");
const tempRootNodeModulesPath = path.join(isolateDir, "node_modules");
Expand Down
2 changes: 1 addition & 1 deletion src/lib/lockfile/helpers/generate-pnpm-lockfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function generatePnpmLockfile({
const { includeDevDependencies, includePatchedDependencies } = useConfig();
const log = useLogger();

log.info("Generating PNPM lockfile...");
log.debug("Generating PNPM lockfile...");

try {
const isRush = isRushWorkspace(workspaceRootDir);
Expand Down
2 changes: 1 addition & 1 deletion src/lib/lockfile/helpers/generate-yarn-lockfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export async function generateYarnLockfile({
}) {
const log = useLogger();

log.info("Generating Yarn lockfile...");
log.debug("Generating Yarn lockfile...");

const origLockfilePath = isRushWorkspace(workspaceRootDir)
? path.join(workspaceRootDir, "common/config/rush", "yarn.lock")
Expand Down
2 changes: 1 addition & 1 deletion src/lib/lockfile/process-lockfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function processLockfile({
isolateDir,
});
} else {
log.info(
log.warn(
"Detected modern version of Yarn. Using NPM lockfile fallback."
);

Expand Down

0 comments on commit bfa68fb

Please sign in to comment.