File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-scripts/scripts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -267,8 +267,8 @@ function getProcessNameOnPort(port) {
267267
268268 var processCommandsAndDirectories = processIds . map ( function ( processId ) {
269269 var processCommand = execSync ( 'ps -o command -p ' + processId + ' | sed -n 2p' , execOptions ) ;
270- var processDirectory = execSync ( 'lsof -p ' + processId + ' | grep cwd | awk \'{print " in " $9}\'' , execOptions ) ;
271- return chalk . blue ( processCommand ) + chalk . cyan ( processDirectory ) ;
270+ var processDirectory = execSync ( 'lsof -p ' + processId + ' | grep cwd | awk \'{print $9}\'' , execOptions ) ;
271+ return chalk . cyan ( processCommand ) + chalk . blue ( ' in ' ) + chalk . cyan ( processDirectory ) ;
272272 } ) ;
273273
274274 return processCommandsAndDirectories . join ( '\n ' ) ;
You can’t perform that action at this time.
0 commit comments