Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

Remove surrounding racer path with double quotes #312

Merged
merged 1 commit into from
Jun 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove surrounding racer path with double quotes
  • Loading branch information
KalitaAlexey committed Jun 28, 2017
commit 0014f991c2583c4e4cb8112fa65e0ef6ebf7252f
3 changes: 0 additions & 3 deletions 3 src/components/completion/completion_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { ChildProcess, SpawnOptions, spawn } from 'child_process';
import { writeFileSync } from 'fs';
import { CompletionItem, CompletionItemKind, Definition, Disposable, ExtensionContext, Hover, Location, MarkedString, ParameterInformation, Position, Range, SignatureHelp, SignatureInformation, TextDocument, Uri, commands, languages, window, workspace } from 'vscode';
import { fileSync } from 'tmp';
import { surround_by_double_quotes } from '../../Utils';
import { Configuration } from '../configuration/Configuration';
import { RustSource } from '../configuration/RustSource';
import { Rustup } from '../configuration/Rustup';
Expand Down Expand Up @@ -165,13 +164,11 @@ export class CompletionManager {
this.errorBuffer = '';
this.lastCommand = '';
this.providers = [];
racerPath = surround_by_double_quotes(racerPath);
logger.debug(`racerPath=${racerPath}`);
this.racerStatusBarItem.showTurnedOn();
const cargoHomePath = this.configuration.getCargoHomePath();
const racerSpawnOptions: SpawnOptions = {
stdio: 'pipe',
shell: true,
env: Object.assign({}, process.env)
};
const rustSourcePath = this._rustSource.getPath();
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.