mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-03 18:38:21 +00:00
This reverts commit cf20673197
(#9511) due
to failure on powerpc64le in https://github.com/astral-sh/uv/pull/9612
This commit is contained in:
parent
6cb3bf2b13
commit
6cc7a560f7
31 changed files with 64 additions and 71 deletions
|
@ -350,7 +350,7 @@ impl ScriptTag {
|
|||
let mut lines = contents.lines();
|
||||
|
||||
// Ensure that the first line is exactly `# /// script`.
|
||||
if lines.next().is_none_or(|line| line != "# /// script") {
|
||||
if !lines.next().is_some_and(|line| line == "# /// script") {
|
||||
return Ok(None);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue