This repository was archived by the owner on Jul 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ impl AlephJsxFold {
58
58
. replace ( "/" , "" )
59
59
. replace ( "+" , "" )
60
60
. as_str ( )
61
- . trim_end_matches ( "=" ) ,
61
+ . trim_end_matches ( '=' ) ,
62
62
) ;
63
63
ident
64
64
}
Original file line number Diff line number Diff line change @@ -383,13 +383,12 @@ impl AlephResolveFold {
383
383
hasher. update ( resolver. specifier . clone ( ) ) ;
384
384
hasher. update ( self . deno_hooks_idx . to_string ( ) ) ;
385
385
hasher. update ( callback_code. clone ( ) ) ;
386
- println ! ( "---{}---" , callback_code) ;
387
386
ident. push_str (
388
387
base64:: encode ( hasher. finalize ( ) )
389
388
. replace ( "/" , "" )
390
389
. replace ( "+" , "" )
391
390
. as_str ( )
392
- . trim_end_matches ( "=" ) ,
391
+ . trim_end_matches ( '=' ) ,
393
392
) ;
394
393
ident
395
394
}
Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ mod tests {
388
388
let id_1 = base64:: encode ( hasher. finalize ( ) )
389
389
. replace ( "/" , "" )
390
390
. replace ( "+" , "" ) ;
391
- let id_1 = id_1. trim_end_matches ( "=" ) ;
391
+ let id_1 = id_1. trim_end_matches ( '=' ) ;
392
392
393
393
let mut hasher = Sha1 :: new ( ) ;
394
394
hasher. update ( specifer. clone ( ) ) ;
@@ -401,7 +401,7 @@ mod tests {
401
401
let id_2 = base64:: encode ( hasher. finalize ( ) )
402
402
. replace ( "/" , "" )
403
403
. replace ( "+" , "" ) ;
404
- let id_2 = id_2. trim_end_matches ( "=" ) ;
404
+ let id_2 = id_2. trim_end_matches ( '=' ) ;
405
405
406
406
for _ in 0 ..3 {
407
407
let ( code, _) = t ( specifer, source, false ) ;
You can’t perform that action at this time.
0 commit comments