fix code style
parent
5656246e5d
commit
195efa75cc
|
@ -65,7 +65,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
|
||||||
function spawnServer(...args: string[]): ChildProcess {
|
function spawnServer(...args: string[]): ChildProcess {
|
||||||
// The server is implemented in PHP
|
// The server is implemented in PHP
|
||||||
args.unshift(context.asAbsolutePath(path.join('vendor', 'felixfbecker', 'language-server', 'bin', 'php-language-server.php')));
|
args.unshift(context.asAbsolutePath(path.join('vendor', 'felixfbecker', 'language-server', 'bin', 'php-language-server.php')));
|
||||||
args.push('--memory-limit=' + memoryLimit)
|
args.push('--memory-limit=' + memoryLimit);
|
||||||
const childProcess = spawn(executablePath, args);
|
const childProcess = spawn(executablePath, args);
|
||||||
childProcess.stderr.on('data', (chunk: Buffer) => {
|
childProcess.stderr.on('data', (chunk: Buffer) => {
|
||||||
console.error(chunk + '');
|
console.error(chunk + '');
|
||||||
|
|
Loading…
Reference in New Issue