bugfix: fix LineEnding for windows (#6688)
fixes a bug when compiling on windows  Release Notes: - Fixed: compilation error related to `LineEnding` on Windows
This commit is contained in:
@@ -2634,7 +2634,7 @@ impl Default for LineEnding {
|
|||||||
return Self::Unix;
|
return Self::Unix;
|
||||||
|
|
||||||
#[cfg(not(unix))]
|
#[cfg(not(unix))]
|
||||||
return Self::CRLF;
|
return Self::Windows;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user