Skip to content

Commit

Permalink
Fix import shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Mar 24, 2022
1 parent bf11664 commit ea96b3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions std/js/src/main/scala/cats/effect/std/SecureRandom.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@

package cats.effect.std

import java.util.Random
import scala.scalajs.js

private final class SecureRandom extends Random {
private final class SecureRandom extends java.util.Random {

private val nextBytes: Int => js.typedarray.Int8Array =
if (js.typeOf(js.Dynamic.global.crypto) != "undefined") // browsers
Expand Down

0 comments on commit ea96b3d

Please sign in to comment.