You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When counting lines of code in a script or function, I'd argue that it's most valuable to only consider significant lines of code. It appears that Get-FunctionLinesOfCode is already excluding comments from it's total count, but I think that blank lines should be excluded as well.
Have a look here to see this in practice. If acceptable, I'll submit a PR.
The text was updated successfully, but these errors were encountered:
When counting lines of code in a script or function, I'd argue that it's most valuable to only consider significant lines of code. It appears that
Get-FunctionLinesOfCode
is already excluding comments from it's total count, but I think that blank lines should be excluded as well.Have a look here to see this in practice. If acceptable, I'll submit a PR.
The text was updated successfully, but these errors were encountered: