-
Notifications
You must be signed in to change notification settings - Fork 451
Conversation
@@ -86,6 +87,9 @@ export class FindWorkspace implements ITfvcCommand<IWorkspace> { | |||
} | |||
} | |||
} | |||
if (mappings.length === 0) { | |||
throw new Error("Could not find a workspace with mappings. Perhaps the wrong version of TF is being used with the selected folder?"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Localize? or add a comment?
src/tfvc/commands/getversion.ts
Outdated
return this.GetOptions(); | ||
} | ||
|
||
public async ParseExeOutput(executionResult: IExecutionResult): Promise<string> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it might be could to refactor this eventually. Not now. Can we add a TODO?
src/tfvc/commands/status.ts
Outdated
} | ||
|
||
public async ParseExeOutput(executionResult: IExecutionResult): Promise<IPendingChange[]> { | ||
return this.ParseOutput(executionResult); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a TODO here since you already have the Arguments changed.
src/tfvc/tfvc.ts
Outdated
if (!stats || !stats.isFile()) { | ||
Logger.LogWarning(`TFVC ${this._tfvcPath} exists but isn't a file.`); | ||
throw new TfvcError({ | ||
message: Strings.TfMissingError + this._tfvcPath, | ||
tfvcErrorCode: TfvcErrorCodes.TfvcNotFound | ||
}); | ||
} | ||
this._isExe = path.extname(this._tfvcPath) === ".exe"; | ||
if (this._isExe) { | ||
this._minVersion = "14.102.25619.0"; //Minimum tf.exe version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we leave this at 14.102.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXEcellent!!
No description provided.