Skip to content

Error: Cannot determine line endings as the text probably contain mixed line endings. (Parameter 'text') #42

@PrzemyslawKlys

Description

@PrzemyslawKlys

[i] Verifying created PSD1 is readable [Time: 00:00:00.0028325]
[+] Reading file content - C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psd1
[+] Reading file content - C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psd1 [Time: 00:00:00.0030369]
[+] Formatting file - C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psd1
[+] Formatting file - C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psd1 [Time: 00:00:00.0680309]
[+] Saving file - C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psd1
[+] Saving file - C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psd1 [Time: 00:00:00.0047264]
[+] Reading file content - C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psm1
[+] Reading file content - C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psm1 [Time: 00:00:00.0008427]
[+] Formatting file - C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psm1

[-] Format-Code - Formatting on file C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psm1 failed.
[-] Format-Code - Error: Cannot determine line endings as the text probably contain mixed line endings. (Parameter 'text')
[-] Format-Code - This is most likely related to a bug in PSScriptAnalyzer running inside VSCode. Please try running outside of VSCode when using formatting.
[e] Formatting file - C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psm1 [Error: Failure in action above. Check output above.]
[+] Formatting file - C:\Support\GitHub\PSMaintanance\Module\PSMaintenance.psm1 [Time: 00:00:00.0074052]
[i] Module Build Failed [Time Total: 0 days, 0 hours, 0 minutes, 11 seconds, 3 milliseconds]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions