Skip to content

Navigation Menu

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.

Commit 1d28e23

Browse filesBrowse files
authored
Remove surrounding racer path with double quotes (#312)
1 parent 46f9b2d commit 1d28e23
Copy full SHA for 1d28e23

File tree

1 file changed

+0
-3
lines changed
Filter options

1 file changed

+0
-3
lines changed

‎src/components/completion/completion_manager.ts

Copy file name to clipboardExpand all lines: src/components/completion/completion_manager.ts
-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { ChildProcess, SpawnOptions, spawn } from 'child_process';
77
import { writeFileSync } from 'fs';
88
import { CompletionItem, CompletionItemKind, Definition, Disposable, ExtensionContext, Hover, Location, MarkedString, ParameterInformation, Position, Range, SignatureHelp, SignatureInformation, TextDocument, Uri, commands, languages, window, workspace } from 'vscode';
99
import { fileSync } from 'tmp';
10-
import { surround_by_double_quotes } from '../../Utils';
1110
import { Configuration } from '../configuration/Configuration';
1211
import { RustSource } from '../configuration/RustSource';
1312
import { Rustup } from '../configuration/Rustup';
@@ -165,13 +164,11 @@ export class CompletionManager {
165164
this.errorBuffer = '';
166165
this.lastCommand = '';
167166
this.providers = [];
168-
racerPath = surround_by_double_quotes(racerPath);
169167
logger.debug(`racerPath=${racerPath}`);
170168
this.racerStatusBarItem.showTurnedOn();
171169
const cargoHomePath = this.configuration.getCargoHomePath();
172170
const racerSpawnOptions: SpawnOptions = {
173171
stdio: 'pipe',
174-
shell: true,
175172
env: Object.assign({}, process.env)
176173
};
177174
const rustSourcePath = this._rustSource.getPath();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.