Skip to content

Commit

Permalink
feat: apt command
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Mar 26, 2024
1 parent cd9ceae commit b9e45cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ env.loadUserEnv();
export default class {

// protected
// XXX
// XXX remove
_throwError ( msg ) {
console.error( msg.statusText ?? msg + "" );

process.exit( 2 );
}

// XXX
// XXX remove
_exitOnError ( code ) {
process.exit( code || 2 );
}
Expand Down

0 comments on commit b9e45cd

Please sign in to comment.