reformat code

pull/102/head
jens1o 2017-04-10 14:28:12 +02:00
parent 14e6a9f19a
commit 35cd9c8074
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
const serverOptions = () => new Promise<ChildProcess | StreamInfo>((resolve, reject) => { const serverOptions = () => new Promise<ChildProcess | StreamInfo>((resolve, reject) => {
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') + ' --memory-limit=' + memoryLimit)); args.unshift(context.asAbsolutePath(path.join('vendor', 'felixfbecker', 'language-server', 'bin', 'php-language-server.php')));
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 + '');