Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Initial tf.exe framework #120

Merged
merged 3 commits into from
Feb 22, 2017
Merged

Initial tf.exe framework #120

merged 3 commits into from
Feb 22, 2017

Conversation

jeffyoung
Copy link
Contributor

No description provided.

@@ -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?");
Copy link
Member

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?

return this.GetOptions();
}

public async ParseExeOutput(executionResult: IExecutionResult): Promise<string> {
Copy link
Member

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?

}

public async ParseExeOutput(executionResult: IExecutionResult): Promise<IPendingChange[]> {
return this.ParseOutput(executionResult);
Copy link
Member

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
Copy link
Member

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?

Copy link
Member

@jpricket jpricket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EXEcellent!!

@jeffyoung jeffyoung merged commit 66bd251 into master Feb 22, 2017
@jeffyoung jeffyoung deleted the jeyou/tf-exe branch February 22, 2017 19:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants