Skip to content

Commit

Permalink
try again to get the command right
Browse files Browse the repository at this point in the history
  • Loading branch information
busma13 committed Dec 5, 2024
1 parent 0b0383c commit add2352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scripts/src/helpers/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ async function showAssets(tsPort: string) {

export async function logTCPPorts() {
try {
const netstat = await execa('netstat', ['-an', '|', 'grep', 'tcp4'], { shell: true, reject: false });
const netstat = await execa('netstat', ['-an', '-t', 'tcp'], { shell: true, reject: false });
signale.info('TCP Ports:\n', netstat.stdout);
} catch (err) {
signale.error('Netstat command failed trying to log ports: ', err);
Expand Down

0 comments on commit add2352

Please sign in to comment.