Skip to content

Commit 2862e99

Browse files
committed
remove cases of JSON.stringify
1 parent 504a31a commit 2862e99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/shared/env/resolveEnv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ async function doResolveUnixShellEnv(timeout: Timeout): Promise<typeof process.e
246246
}
247247
}
248248

249-
getLogger().debug(`getUnixShellEnvironment#spawn:${JSON.stringify(shellArgs)}, command:${command}`)
249+
getLogger().debug(`getUnixShellEnvironment#spawn:%O, command:${command}`, shellArgs)
250250

251251
const child = new ChildProcess(systemShellUnix, [...shellArgs, command], {
252252
spawnOptions: {

packages/core/src/shared/sam/sync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ export async function runSync(
716716

717717
await confirmDevStack()
718718
const params = syncParam ?? (await (await getSyncWizard(deployType, arg, validate)).run())
719-
getLogger().info(JSON.stringify(params))
719+
getLogger().info('%O', params)
720720

721721
if (params === undefined) {
722722
throw new CancellationError('user')

0 commit comments

Comments
 (0)