bin/hitchy-pm.js
function postProcess( errorCode ) {
	if ( errorCode ) {
		console.error( `running npm for installing missing dependencies ${collected.join( ", " )} exited on error (${errorCode})` );
	} else if ( exec ) {
		const cmd = exec.join( " " );

		if ( !quiet ) {
			console.error( `invoking follow-up command: ${cmd}` );
		}

		const followup = Child.exec( cmd );

		followup.stdout.pipe( process.stdout );
		followup.stderr.pipe( process.stderr );

		followup.on( "exit", code => {
			process.exit( code );
		} );

		return;
	}

	process.exit( errorCode );
}
function postProcess( errorCode ) {
	if ( errorCode ) {
		console.error( `running npm for installing missing dependencies ${collected.join( ", " )} exited on error (${errorCode})` );
	} else if ( exec ) {
		const cmd = exec.join( " " );

		if ( !quiet ) {
			console.error( `invoking follow-up command: ${cmd}` );
		}

		const followup = Child.exec( cmd );

		followup.stdout.pipe( process.stdout );
		followup.stderr.pipe( process.stderr );

		followup.on( "exit", code => {
			process.exit( code );
		} );

		return;
	}

	process.exit( errorCode );
}
function postProcess ( errorCode ) { if ( errorCode ) { console . error ( ` ${ collected . join ( ", " ) } ${ errorCode } ` ) ; } else if ( exec ) { const cmd = exec . join ( " " ) ; if ( ! quiet ) { console . error ( ` ${ cmd } ` ) ; } const followup = Child . exec ( cmd ) ; followup . stdout . pipe ( process . stdout ) ; followup . stderr . pipe ( process . stderr ) ; followup . on ( "exit" , code => { process . exit ( code ) ; } ) ; return ; } process . exit ( errorCode ) ; }
Handles event of having passed installation of missing dependencies.

@param {int} errorCode status code on exit of npm installing missing dependencies
Handles event of having passed installation of missing dependencies .