We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4bcce17 + bd58a6a commit fcae4baCopy full SHA for fcae4ba
src/svnFinder.ts
@@ -17,7 +17,7 @@ export function parseVersion(raw: string): string {
17
}
18
19
export class SvnFinder {
20
- findSvn(hint: string | undefined): Promise<ISvn> {
+ findSvn(hint?: string): Promise<ISvn> {
21
var first = hint ? this.findSpecificSvn(hint) : Promise.reject<ISvn>(null);
22
23
return first
@@ -45,7 +45,7 @@ export class SvnFinder {
45
.then(void 0, () => this.findSpecificSvn("svn"));
46
47
48
- findSystemSvnWin32(base: string): Promise<ISvn> {
+ findSystemSvnWin32(base?: string): Promise<ISvn> {
49
if (!base) {
50
return Promise.reject<ISvn>("Not found");
51
0 commit comments