File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ async function main() {
4040 ? args . slice ( 2 )
4141 : null ;
4242
43+ if ( process . env . TAB_DEBUG ) {
44+ console . error ( 'COMPLETION ARGS:' , completionArgs ) ;
45+ }
46+
4347 if ( ! completionArgs ) {
4448 console . error ( `Error: Expected '--' followed by command to complete` ) ;
4549 process . exit ( 1 ) ;
Original file line number Diff line number Diff line change @@ -105,6 +105,10 @@ export class PackageManagerCompletion extends RootCommand {
105105 }
106106
107107 async parse ( args : string [ ] ) {
108+ if ( process . env . TAB_DEBUG ) {
109+ console . error ( '[DEBUG] package-manager-completion args:' , args ) ;
110+ }
111+
108112 const normalizedArgs = this . stripPackageManagerCommands ( args ) ;
109113
110114 if ( normalizedArgs . length >= 1 && normalizedArgs [ 0 ] . trim ( ) !== '' ) {
You can’t perform that action at this time.
0 commit comments