Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward licensing limit message as annotated warning #10

Open
fabriciomurta opened this issue Apr 28, 2021 · 2 comments
Open

Forward licensing limit message as annotated warning #10

fabriciomurta opened this issue Apr 28, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@fabriciomurta
Copy link
Contributor

Emit a warning to the action workflow whenever retype emits warning about the licensing limit being reached.

Otherwise, it will be difficult to know why retype is only generating ~100 pages per current no-license limitations.

@fabriciomurta fabriciomurta added the enhancement New feature or request label Apr 28, 2021
@fabriciomurta fabriciomurta self-assigned this Apr 28, 2021
@fabriciomurta
Copy link
Contributor Author

We should also actually print the output of retype as it runs, even on success.

@AndreyChechel
Copy link

AndreyChechel commented May 4, 2021

just in case, below is the way the message is generated:

var message = $"Retype has hit your { total } page limit.";

if (!wallet.IsLicensed)
{
    message += $" A Retype Pro license would be required if using > { total } pages.";
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants