File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -345,9 +345,20 @@ export class MiseService {
345345 return [ ] ;
346346 }
347347
348+ let extraArgs = "" ;
349+
350+ if ( includeHidden ) {
351+ extraArgs += " --hidden" ;
352+ }
353+
354+ // The --all flag was added in 2025.10.3
355+ if ( await this . hasValidMiseVersion ( [ 2025 , 10 , 3 ] ) ) {
356+ extraArgs += " --all" ;
357+ }
358+
348359 try {
349360 const { stdout } = await this . cache . execCmd ( {
350- command : includeHidden ? " tasks ls --json --hidden" : "tasks ls --json" ,
361+ command : ` tasks ls --json ${ extraArgs } ` ,
351362 } ) ;
352363 return JSON . parse ( stdout ) ;
353364 } catch ( error : unknown ) {
@@ -854,7 +865,7 @@ export class MiseService {
854865 }
855866 }
856867
857- async hasValidMiseVersion ( ) {
868+ async hasValidMiseVersion ( minVersion ?: readonly [ number , number , number ] ) {
858869 if ( ! this . getMiseBinaryPath ( ) ) {
859870 return false ;
860871 }
@@ -864,7 +875,7 @@ export class MiseService {
864875 return false ;
865876 }
866877
867- return isVersionGreaterOrEqualThan ( version , MIN_MISE_VERSION ) ;
878+ return isVersionGreaterOrEqualThan ( version , minVersion ?? MIN_MISE_VERSION ) ;
868879 }
869880
870881 async checkNewMiseVersion ( ) {
You can’t perform that action at this time.
0 commit comments