@@ -45,7 +45,7 @@ export class CheckerDockerCLISymlink implements DiagnosticsChecker {
45
45
const displayableStartingPath = replaceHome ( startingPath ) ;
46
46
const rdBinPath = path . join ( paths . integration , this . name ) ;
47
47
const displayableRDBinPath = replaceHome ( rdBinPath ) ;
48
- const finalTarget = path . join ( paths . resources , os . platform ( ) , 'bin ' , this . name ) ;
48
+ const finalTarget = path . join ( paths . resources , os . platform ( ) , 'docker-cli-plugins ' , this . name ) ;
49
49
const displayableFinalTarget = replaceHome ( finalTarget ) ;
50
50
let state ;
51
51
let description = `The file \`${ displayableStartingPath } \`` ;
@@ -124,9 +124,8 @@ export class CheckerDockerCLISymlink implements DiagnosticsChecker {
124
124
}
125
125
126
126
const dockerCliSymlinkCheckers : Promise < DiagnosticsChecker [ ] > = ( async ( ) => {
127
- const resourcesDir = path . join ( paths . resources , os . platform ( ) , 'bin' ) ;
128
- const allNames = await fs . promises . readdir ( resourcesDir , 'utf-8' ) ;
129
- const names = allNames . filter ( name => name . startsWith ( 'docker-' ) && ! name . startsWith ( 'docker-credential-' ) ) ;
127
+ const resourcesDir = path . join ( paths . resources , os . platform ( ) , 'docker-cli-plugins' ) ;
128
+ const names = await fs . promises . readdir ( resourcesDir , 'utf-8' ) ;
130
129
131
130
return names . map ( ( name ) => {
132
131
return new CheckerDockerCLISymlink ( name ) ;
0 commit comments