Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All notable changes to the Aptos TypeScript SDK will be captured in this file. T

# Unreleased

- Log the Move command if `showStdout` is set to true
- node now no longer supports older than v20
- overriding cross spawn for patch
- Add `AccountUtils` class to help with account serialization and deserialization
Expand Down
5 changes: 5 additions & 0 deletions src/cli/move.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,11 @@ export class Move {
// so we need to keep track of the last stdout
let lastStdout = "";

if (showStdout) {
// eslint-disable-next-line no-console
console.log("Running command: ", args.join(" "));
}

// Check if current OS is windows
if (currentPlatform === "win32") {
childProcess = spawn("npx", args, { shell: true });
Expand Down
Loading