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

Fix InvalidOperation in workflow #877

Merged
merged 3 commits into from
May 14, 2024
Merged

Fix InvalidOperation in workflow #877

merged 3 commits into from
May 14, 2024

Conversation

martincostello
Copy link
Owner

@martincostello martincostello commented May 14, 2024

  • Fix InvalidOperation from PowerShell if exactly one .csproj file is found.
  • Rebuild the contents of dist.

Error fixed:

$projectFiles += Get-ChildItem -Path "." -Filter "*.fsproj" -Recurs …
     |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Method invocation failed because [System.IO.FileInfo] does not contain a
     | method named 'op_Addition'.

Fix `InvalidOperation` from PowerShell if exactly one `.csproj` file is found.
Rebuild the contents of dist.
@martincostello martincostello added the bug Something isn't working label May 14, 2024
@martincostello martincostello added this to the v3.2.2 milestone May 14, 2024
martincostello added a commit to martincostello/github-automation that referenced this pull request May 14, 2024
Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.65%. Comparing base (a90602e) to head (b04ed49).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #877   +/-   ##
=======================================
  Coverage   93.65%   93.65%           
=======================================
  Files           2        2           
  Lines         394      394           
  Branches       78       78           
=======================================
  Hits          369      369           
  Misses         23       23           
  Partials        2        2           
Flag Coverage Δ
linux 93.65% <ø> (ø)
macos ?
windows ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Fix incorrect variable syntax.
@martincostello martincostello marked this pull request as ready for review May 14, 2024 18:26
@martincostello martincostello enabled auto-merge (squash) May 14, 2024 18:26
@martincostello martincostello merged commit d100d37 into main May 14, 2024
9 checks passed
@martincostello martincostello deleted the fix-array-access branch May 14, 2024 18:29
martincostello added a commit that referenced this pull request May 14, 2024
Update the action SHA to pick up changes from #877.
@martincostello martincostello mentioned this pull request May 14, 2024
martincostello added a commit that referenced this pull request May 14, 2024
Update the action SHA to pick up changes from #877.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant