Unverified Commit 3a7ea695 authored by xusd320's avatar xusd320 Committed by GitHub

fix(turbopack): prepend a question mark in AssetIdent display (#78977)

## What?
Just update AssetIdent display, prepend "?" like url query. See printed
ident with query like below
<img width="1500" alt="image"
src="https://github.com/user-attachments/assets/bd37733f-cdd1-496e-b7f0-5c372e842d14"
/>
Co-authored-by: 's avatarNiklas Mischkulnig <4586894+mischnic@users.noreply.github.com>
parent 92f4077a
...@@ -59,7 +59,7 @@ impl ValueToString for AssetIdent { ...@@ -59,7 +59,7 @@ impl ValueToString for AssetIdent {
let query = self.query.await?; let query = self.query.await?;
if !query.is_empty() { if !query.is_empty() {
write!(s, "{}", &*query)?; write!(s, "?{}", &*query)?;
} }
if let Some(fragment) = &self.fragment { if let Some(fragment) = &self.fragment {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment