mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 21:39:43 +00:00
use Gruntfile.js instead of gruntfile.js
This commit is contained in:
parent
6e5ddd3e7e
commit
e89f4eb51b
|
@ -188,7 +188,7 @@ export class ProcessRunnerDetector {
|
|||
}
|
||||
|
||||
private tryDetectGrunt(list:boolean):WinJS.TPromise<{ config: FileConfig.ExternalTaskRunnerConfiguration; stderr: string[]; }> {
|
||||
return this.fileService.resolveFile(this.contextService.toResource('gruntfile.js')).then((stat) => {
|
||||
return this.fileService.resolveFile(this.contextService.toResource('Gruntfile.js')).then((stat) => {
|
||||
let config = ProcessRunnerDetector.detectorConfig('grunt');
|
||||
let process = new LineProcess('grunt', [config.arg, '--no-color'], true, {cwd: this.variables.workspaceRoot});
|
||||
return this.runDetection(process, 'grunt', true, config.matcher, ProcessRunnerDetector.DefaultProblemMatchers, list);
|
||||
|
|
Loading…
Reference in a new issue