From 9842f389fc7fa7bc6be2a17a9d1263c8562034ca Mon Sep 17 00:00:00 2001 From: TsvetanMilanov Date: Thu, 24 Mar 2016 18:08:51 +0200 Subject: [PATCH] Fixed autocomplete When path to node has spaces (C:\Program Files) the child process exec cannot run the command. Need to place it in "" to run it without errors. Update FileSystemStub with new method from interface. --- lib/common | 2 +- test/stubs.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/common b/lib/common index 76e1c9c362..e1802e2f60 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit 76e1c9c362e5d1f0f2d05cb2b301a766e852b900 +Subproject commit e1802e2f60be7678b85554201c515396b2d0c15b diff --git a/test/stubs.ts b/test/stubs.ts index 9f221fa06c..5d4999c038 100644 --- a/test/stubs.ts +++ b/test/stubs.ts @@ -169,6 +169,10 @@ export class FileSystemStub implements IFileSystem { renameIfExists(oldPath: string, newPath: string): IFuture { return undefined; } + + rm(options: string, ...files: string[]): void { + // Mock + } } export class ErrorsStub implements IErrors {