Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Conversation

StanleyGoldman
Copy link
Contributor

@StanleyGoldman StanleyGoldman commented Mar 9, 2018

This pull request targets and addresses some of the issues brought up in #599

  • Added a central script to control the output format from various commands
  • Added an output processor and an object to represent output from Octorun
    • Updated code to use this new output object

return auth;
}

if (ret[0] == "2fa")
if (ret.IsCutom && ret.Status == "2fa")
Copy link
Member

Choose a reason for hiding this comment

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

IsCutom? 👀


public bool IsSuccess => Status.Equals("success", StringComparison.InvariantCultureIgnoreCase);
public bool IsError => Status.Equals("error", StringComparison.InvariantCultureIgnoreCase);
public bool IsCutom => !IsSuccess && !IsError;
Copy link
Member

Choose a reason for hiding this comment

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

/me stares at IsCutom

Copy link
Member

@shana shana left a comment

Choose a reason for hiding this comment

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

Just one tiny little thing that's jumping out at me...

@StanleyGoldman StanleyGoldman merged commit 7856043 into features/octorun-js Mar 9, 2018
@StanleyGoldman StanleyGoldman deleted the fixes/octorun-js-output branch March 9, 2018 17:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants