Azure / Azure/azure-functions-core-tools

Func cli tool does not use platform specific line endings

Open
#3,296 0 comments 1 reaction 0 assignees View on GitHub
bug Triaged
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
4d 20h
Merged PRs (30d)
14

Description

Basically #2673
As demonstrated in the screenshot below.

Expected behavior is that the tool uses platform appropriate line endings for the platform.
In other words:
- `lf` for Linux and Mac OS
- `crlf` for Windows

![image](https://user-images.githubusercontent.com/1758308/222681604-09dfc47b-c5a8-42ee-bc61-d428a6a9f7e7.png)

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the Func CLI code that emits the affected output and reproduce the behavior on Linux or macOS and Windows. Verify that the output uses LF on Linux and macOS and CRLF on Windows, then add or update coverage for the platform-specific behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.