Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
perf: minor logging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah authored Jul 9, 2021
1 parent 7e9eecb commit 5f77547
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/io/src/executeLifecycleScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const maybeExecuteWorkspaceLifecycleScript = async (

const exec = async () => {
if (dryRun) {
logging.info(`${prefix} [Exec] '${scriptName}'`, {
logging.debug(`${prefix} [Exec] '${scriptName}'`, {
report: context.report,
})
return
Expand Down
4 changes: 2 additions & 2 deletions packages/node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const monodeploy = async (

if (!config.dryRun) {
backupKey = await backupPackageJsons({ config, context })
logging.debug(
logging.info(
`[Savepoint] Saving working tree (key: ${backupKey})`,
{
report,
Expand Down Expand Up @@ -277,7 +277,7 @@ const monodeploy = async (

if (!config.persistVersions) {
// Restore workspace package.jsons
logging.debug(
logging.info(
`[Savepoint] Restoring modified working tree (key: ${backupKey})`,
{ report },
)
Expand Down

0 comments on commit 5f77547

Please sign in to comment.