File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ const runScriptPkg = async options => {
44
44
return { code : 0 , signal : null }
45
45
}
46
46
47
+ let inputEnd = ( ) => { }
47
48
if ( stdio === 'inherit' ) {
48
49
let banner
49
50
if ( pkg . _id ) {
@@ -56,8 +57,9 @@ const runScriptPkg = async options => {
56
57
banner += ` ${ args . join ( ' ' ) } `
57
58
}
58
59
banner += '\n'
59
- const { output } = require ( 'proc-log' )
60
+ const { output, input } = require ( 'proc-log' )
60
61
output . standard ( banner )
62
+ inputEnd = input . start ( )
61
63
}
62
64
63
65
const [ spawnShell , spawnArgs , spawnOpts ] = makeSpawnArgs ( {
@@ -104,7 +106,7 @@ const runScriptPkg = async options => {
104
106
} else {
105
107
throw er
106
108
}
107
- } )
109
+ } ) . finally ( inputEnd )
108
110
}
109
111
110
112
module . exports = runScriptPkg
You can’t perform that action at this time.
0 commit comments