File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export class Linter extends baseLinter.BaseLinter {
18
18
}
19
19
20
20
var flake8Path = this . pythonSettings . linting . flake8Path ;
21
- var cmdLine = `${ flake8Path } ${ FLAKE8_COMMANDLINE } ${ filePath } ` ;
21
+ var cmdLine = `${ flake8Path } ${ FLAKE8_COMMANDLINE } " ${ filePath } " ` ;
22
22
return new Promise < baseLinter . ILintMessage [ ] > ( ( resolve , reject ) => {
23
23
this . run ( cmdLine , filePath , txtDocumentLines ) . then ( messages => {
24
24
//All messages in pep8 are treated as warnings for now
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export class Linter extends baseLinter.BaseLinter {
18
18
}
19
19
20
20
var pep8Path = this . pythonSettings . linting . pep8Path ;
21
- var cmdLine = `${ pep8Path } ${ PEP_COMMANDLINE } ${ filePath } ` ;
21
+ var cmdLine = `${ pep8Path } ${ PEP_COMMANDLINE } " ${ filePath } " ` ;
22
22
return new Promise < baseLinter . ILintMessage [ ] > ( resolve => {
23
23
this . run ( cmdLine , filePath , txtDocumentLines ) . then ( messages => {
24
24
//All messages in pep8 are treated as warnings for now
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export class Linter extends baseLinter.BaseLinter {
30
30
}
31
31
32
32
var pylintPath = this . pythonSettings . linting . pylintPath ;
33
- var cmdLine = `${ pylintPath } ${ PYLINT_COMMANDLINE } ${ filePath } ` ;
33
+ var cmdLine = `${ pylintPath } ${ PYLINT_COMMANDLINE } " ${ filePath } " ` ;
34
34
return new Promise < baseLinter . ILintMessage [ ] > ( ( resolve , reject ) => {
35
35
this . run ( cmdLine , filePath , txtDocumentLines ) . then ( messages => {
36
36
messages . forEach ( msg => {
You can’t perform that action at this time.
0 commit comments