QuantConnect / lean-cli

CLI for running the LEAN engine locally and in the cloud
https://www.lean.io/cli
Apache License 2.0
194 stars 99 forks source link

Handle unexpected new line characters when pulling projects #344

Closed jhonabreul closed 1 year ago

jhonabreul commented 1 year ago

In some cases (only haven been able to reproduce it using the extension) the algorithm files are stored using windows new line separators, but the CLI works with '\n' when the files contents are in memory. This fixes this unexpected file content new line separators for those cases.

Closes #342

jaredbroad commented 1 year ago

Thank you

ghost commented 1 year ago

Potentially this should be handled by the cloud 🤔

On Fri, Jul 14, 2023, 6:10 PM Jared @.***> wrote:

Thank you

— Reply to this email directly, view it on GitHub https://github.com/QuantConnect/lean-cli/pull/344#issuecomment-1636500470, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5F5DF6STT5XNT5UTBBE7TXQG7VZANCNFSM6AAAAAA2K2R7VQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>