diff options
author | Geert-Jan Zwiers <geertjanzwiers@protonmail.com> | 2023-03-04 13:05:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-04 08:05:07 -0400 |
commit | 58ec963bf190cd33cdbc3218be3b8c61189bdcfd (patch) | |
tree | ffaa21e1707bb79e5822783bab941f5bbaa006fe /ext/node/resolution.rs | |
parent | 399a22db887db60f90ad1182172dc218e0e1d5ec (diff) |
refactor: simplify to string calls (#18011)
Diffstat (limited to 'ext/node/resolution.rs')
-rw-r--r-- | ext/node/resolution.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/resolution.rs b/ext/node/resolution.rs index ccd272741..950485a1d 100644 --- a/ext/node/resolution.rs +++ b/ext/node/resolution.rs @@ -291,7 +291,7 @@ fn throw_invalid_package_target( subpath, target, internal, - Some(referrer.as_str().to_string()), + Some(referrer.to_string()), ) } |