File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
io/js/src/main/scala/fs2/io Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ private[io] trait compressionplatform {
45
45
46
46
Stream
47
47
.resource(suspendReadableAndRead() {
48
- ( deflateParams.header match {
48
+ deflateParams.header match {
49
49
case ZLibParams .Header .GZIP => facade.zlib.createGzip(options)
50
50
case ZLibParams .Header .ZLIB => facade.zlib.createDeflate(options)
51
- })
51
+ }
52
52
})
53
53
.flatMap { case (deflate, out) =>
54
54
out
@@ -66,10 +66,10 @@ private[io] trait compressionplatform {
66
66
67
67
Stream
68
68
.resource(suspendReadableAndRead() {
69
- ( inflateParams.header match {
69
+ inflateParams.header match {
70
70
case ZLibParams .Header .GZIP => facade.zlib.createGunzip(options)
71
71
case ZLibParams .Header .ZLIB => facade.zlib.createInflate(options)
72
- })
72
+ }
73
73
})
74
74
.flatMap { case (inflate, out) =>
75
75
out
Original file line number Diff line number Diff line change @@ -97,13 +97,9 @@ private[fs2] trait FilesCompanionPlatform {
97
97
permissions : Option [Permissions ]
98
98
): F [Path ] =
99
99
F .fromPromise(
100
- <<<<<<< topic/ scalafmt- 3.5.7
101
- F .delay(fsPromisesMod.mkdtemp(dir.fold(osMod.tmpdir())(_.toString) + Path .sep + prefix))
102
- =======
103
100
F .delay(
104
101
facade.fs.promises.mkdtemp(dir.fold(facade.os.tmpdir())(_.toString) + Path .sep + prefix)
105
102
)
106
- >>>>>>> main
107
103
).map(Path (_))
108
104
.flatTap { path =>
109
105
permissions
You can’t perform that action at this time.
0 commit comments