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

Error running Format check on push example #91

Open
bourbongoat opened this issue Aug 12, 2020 · 1 comment
Open

Error running Format check on push example #91

bourbongoat opened this issue Aug 12, 2020 · 1 comment

Comments

@bourbongoat
Copy link

Not sure if I did something wrong implementing the example yaml or this is a legit bug.

Run xt0rted/dotnet-format@v1.0.1
with:
repo-token: ***
action: check
fail-fast: true
/usr/bin/dotnet format --check --dry-run
Could not execute because the specified command or file was not found.
Possible reasons for this include:

  • You misspelled a built-in dotnet command.
  • You intended to execute a .NET Core program, but dotnet-format does not exist.
  • You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
    (node:2919) UnhandledPromiseRejectionWarning: Error: Formatting issues found
    at Object. (/home/runner/work/_actions/xt0rted/dotnet-format/v1.0.1/dist/index.js:1355:19)
    at Generator.next ()
    at fulfilled (/home/runner/work/_actions/xt0rted/dotnet-format/v1.0.1/dist/index.js:1335:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    (node:2919) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
    (node:2919) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    ##[error]Formatting issues found
@anthony-steele-cko
Copy link

You might be running into same as this: #89

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

No branches or pull requests

2 participants