@@ -655,7 +655,7 @@ init(){
655655 }
656656}
657657async run ( ) {
658- let { args, err : _err , term} = this ;
658+ let { args, term} = this ;
659659 let have_error = false ;
660660 const err = mess => {
661661 this . err ( mess ) ;
@@ -735,9 +735,9 @@ const com_cp = class extends Com{//«
735735const com_mkdir = class extends Com { //«
736736
737737async run ( ) {
738- let { args, term, err : _err } = this ;
738+ let { args, term} = this ;
739739 let have_error = false ;
740- const err = ( mess ) => { if ( ! mess ) return ; have_error = true ; _err ( mess ) ; } ;
740+ const err = ( mess ) => { if ( ! mess ) return ; have_error = true ; this . err ( mess ) ; } ;
741741 if ( ! args . length ) {
742742 err ( "missing operand" ) ;
743743 }
@@ -790,9 +790,9 @@ static getOpts(){//«
790790 } ;
791791} //»
792792async run ( ) {
793- let { args, term, err : _err } = this ;
793+ let { args, term} = this ;
794794 let have_error = false ;
795- const err = ( mess ) => { if ( ! mess ) return ; have_error = true ; _err ( mess ) ; } ;
795+ const err = ( mess ) => { if ( ! mess ) return ; have_error = true ; this . err ( mess ) ; } ;
796796 if ( ! args . length ) {
797797 err ( "missing operand" ) ;
798798 }
@@ -807,10 +807,10 @@ async run(){
807807const com_rm = class extends Com { //«
808808
809809async run ( ) {
810- let { args, term, err : _err , env, opts} = this ;
810+ let { args, term, env, opts} = this ;
811811 let have_error = false ;
812812 let is_recur = ( opts . recursive || opts . R || opts . r ) ;
813- const err = ( mess ) => { if ( ! mess ) return ; have_error = true ; _err ( mess ) ; } ;
813+ const err = ( mess ) => { if ( ! mess ) return ; have_error = true ; this . err ( mess ) ; } ;
814814 if ( ! args . length ) {
815815 err ( "missing operand" ) ;
816816 }
@@ -843,9 +843,9 @@ async run(){
843843const com_ln = class extends Com { //«
844844
845845async run ( ) {
846- let { args, term, err : _err } = this ;
846+ let { args, term} = this ;
847847 const err = ( mess ) => {
848- _err ( mess ) ;
848+ this . err ( mess ) ;
849849 this . no ( ) ;
850850 } ;
851851 if ( ! args . length ) {
@@ -910,9 +910,9 @@ async run(){
910910const com_symln = class extends Com { //«
911911
912912async run ( ) {
913- let { args, term, err : _err } = this ;
913+ let { args, term} = this ;
914914 const err = ( mess ) => {
915- _err ( mess ) ;
915+ this . err ( mess ) ;
916916 this . no ( ) ;
917917 } ;
918918 if ( ! args . length ) {
@@ -995,7 +995,7 @@ sendCount(){
995995}
996996async run ( ) {
997997 if ( this . killed ) return ;
998- let { args, err : _err , out} = this ;
998+ let { args, out} = this ;
999999 if ( ! args . length ) {
10001000 if ( this . stdin ) {
10011001 this . doWC ( this . stdin ) ;
@@ -1008,7 +1008,7 @@ async run(){
10081008 const err = mess => {
10091009 if ( ! mess ) return ;
10101010 have_error = true ;
1011- _err ( mess ) ;
1011+ this . err ( mess ) ;
10121012 } ;
10131013 let rv = await get_file_lines_from_args ( args , this . term , err ) ;
10141014// if (rv.err && rv.err.length) err(rv.err);
@@ -1165,11 +1165,11 @@ const com_purge = class extends Com{/*«*/
11651165async run ( ) {
11661166 if ( globals . read_only ) return this . no ( "Read only" ) ;
11671167
1168- const { err : _err , args} = this ;
1168+ const { args} = this ;
11691169 let have_error = false ;
11701170 const err = ( mess ) => {
11711171 have_error = true ;
1172- _err ( mess ) ;
1172+ this . err ( mess ) ;
11731173 }
11741174 let dir = await fsapi . getBlobDir ( ) ;
11751175 for ( let arg of args ) {
0 commit comments