@@ -13,7 +13,7 @@ export interface AmazonQResourcePaths extends ResourcePaths {
1313 * Path to `rg` (or `rg.exe`) executable/binary.
1414 * Example: `"<cachedir>/aws/toolkits/language-servers/AmazonQ/3.3.0/servers/rg"`
1515 */
16- rg : string
16+ ripGrep : string
1717}
1818
1919export class AmazonQLspInstaller extends BaseLspInstaller . BaseLspInstaller <
@@ -27,8 +27,8 @@ export class AmazonQLspInstaller extends BaseLspInstaller.BaseLspInstaller<
2727 protected override async postInstall ( assetDirectory : string ) : Promise < void > {
2828 const resourcePaths = this . resourcePaths ( assetDirectory )
2929 await fs . chmod ( resourcePaths . node , 0o755 )
30- if ( await fs . exists ( resourcePaths . rg ) ) {
31- await fs . chmod ( resourcePaths . rg , 0o755 )
30+ if ( await fs . exists ( resourcePaths . ripGrep ) ) {
31+ await fs . chmod ( resourcePaths . ripGrep , 0o755 )
3232 }
3333 }
3434
@@ -37,7 +37,7 @@ export class AmazonQLspInstaller extends BaseLspInstaller.BaseLspInstaller<
3737 return {
3838 lsp : this . config . path ?? '' ,
3939 node : getNodeExecutableName ( ) ,
40- rg : `ripgrep/${ getRgExecutableName ( ) } ` ,
40+ ripGrep : `ripgrep/${ getRgExecutableName ( ) } ` ,
4141 ui : this . config . ui ?? '' ,
4242 }
4343 }
@@ -47,7 +47,7 @@ export class AmazonQLspInstaller extends BaseLspInstaller.BaseLspInstaller<
4747 return {
4848 lsp : path . join ( assetDirectory , 'servers/aws-lsp-codewhisperer.js' ) ,
4949 node : nodePath ,
50- rg : rgPath ,
50+ ripGrep : rgPath ,
5151 ui : path . join ( assetDirectory , 'clients/amazonq-ui.js' ) ,
5252 }
5353 }
0 commit comments