Skip to content

Commit 479f378

Browse files
Update to latest common lib
Fix ts errors after updating to latest mobile-cli-lib sha.
1 parent 5e7302d commit 479f378

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

lib/services/android-project-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
461461
shell.cp(cpArg, paths, projectRoot);
462462
}
463463

464-
private spawn(command: string, args: string[], opts?: any): IFuture<void> {
464+
private spawn(command: string, args: string[], opts?: any): IFuture<ISpawnResult> {
465465
return this.$childProcess.spawnFromEvent(command, args, "close", opts || { stdio: "inherit" });
466466
}
467467

test/stubs.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ export class FileSystemStub implements IFileSystem {
172172
rm(options: string, ...files: string[]): void {
173173
// Mock
174174
}
175+
176+
deleteEmptyParents(directory: string): IFuture<void> {
177+
return Future.fromResult();
178+
}
175179
}
176180

177181
export class ErrorsStub implements IErrors {

0 commit comments

Comments
 (0)