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

Added simple logging of commands to output window #80

Merged
merged 1 commit into from
Feb 1, 2017

Conversation

jpricket
Copy link
Member

@jpricket jpricket commented Feb 1, 2017

Also added some tests
User Story #884966

Also added some tests
User Story #884966
@msftclas
Copy link

msftclas commented Feb 1, 2017

Hi @jpricketMSFT, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!


It looks like you're a Microsoft contributor (Jason Prickett). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


const outputChannel = window.createOutputChannel("TFVC");
outputChannel.appendLine("Using TFVC command line: " + this._tfvc.Location + " (" + version + ")");
this._tfvc.onOutput(line => outputChannel.append(line)); //TODO add disposable to unhook event
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this TODO something you can do before closing the PR?

@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
"use strict";

import { IExecutionResult, ITfvcCommand, IWorkspace, IWorkspaceMapping } from "../interfaces";
import {IArgumentProvider, IExecutionResult, ITfvcCommand, IWorkspace, IWorkspaceMapping } from "../interfaces";
Copy link
Contributor

Choose a reason for hiding this comment

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

Space after {

@jpricket jpricket merged commit 5e1b0b8 into master Feb 1, 2017
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