File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ import {
3939import { activate } from './chat/activation'
4040import { AmazonQResourcePaths } from './lspInstaller'
4141import { ConfigSection , isValidConfigSection , toAmazonQLSPLogLevel } from './config'
42- import { chmodSync } from 'fs' // eslint-disable-line no-restricted-imports
4342
4443const localize = nls . loadMessageBundle ( )
4544const logger = getLogger ( 'amazonqLsp.lspClient' )
@@ -77,7 +76,7 @@ export async function startLanguageServer(
7776 `
7877 const nodeWrapperPath = path . join ( path . dirname ( resourcePaths . node ) , 'node-wrapper' )
7978 await fs . writeFile ( nodeWrapperPath , nodeWrapper )
80- chmodSync ( nodeWrapperPath , 0o755 )
79+ await fs . chmod ( nodeWrapperPath , 0o755 )
8180 resourcePaths . node = nodeWrapperPath
8281 getLogger ( 'amazonqLsp' ) . info ( `Patched node runtime with GLIBC to ${ resourcePaths . node } ` )
8382 }
You can’t perform that action at this time.
0 commit comments