Skip to content

Commit 75c1f07

Browse files
committed
Merge pull request #198 from NativeScript/totev/new-mobile-lib
Take the latest mobile-cli-lib
2 parents 4e5821e + 081697e commit 75c1f07

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"npm": "1.4.26",
4141
"osenv": "0.1.0",
4242
"open": "0.0.4",
43-
"plistlib": "0.2.1",
43+
"plist": "1.1.0",
4444
"progress-stream": "0.5.0",
4545
"prompt": "https://github.com/Icenium/prompt/tarball/master",
4646
"properties-parser": "0.2.3",

test/platform-commands.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ class ErrorsNoFailStub implements IErrors {
3131
fail(opts: { formatStr?: string; errorCode?: number; suppressCommandHelp?: boolean }, ...args: any[]): void;
3232

3333
fail(...args: any[]) { throw new Error(); }
34+
failWithoutHelp(message: string, ...args: any[]): void {
35+
throw new Error();
36+
}
3437

3538
beginCommand(action: () => IFuture<boolean>, printHelpCommand: () => IFuture<boolean>): IFuture<boolean> {
3639
return (() => {

test/stubs.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ export class ErrorsStub implements IErrors {
143143
throw args;
144144
}
145145

146+
failWithoutHelp(message: string, ...args: any[]): void {
147+
throw new Error();
148+
}
149+
146150
beginCommand(action:() => IFuture<boolean>, printHelpCommand: () => IFuture<boolean>): IFuture<boolean> {
147151
throw new Error("not supported");
148152
}

0 commit comments

Comments
 (0)