This repository was archived by the owner on Mar 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import EventTarget from './EventTarget'
1111const log = new Log ( 'Blob' )
1212const blobCacheDir = fs . dirs . DocumentDir + '/RNFetchBlob-blobs/'
1313
14- // log.disable()
15- log . level ( 3 )
14+ log . disable ( )
15+ // log.level(3)
1616
1717/**
1818 * A RNFetchBlob style Blob polyfill class, this is a Blob which compatible to
@@ -342,6 +342,5 @@ function createMixedBlobData(ref, dataArray) {
342342 return fs . appendFile ( ...arg )
343343 } . bind ( args [ i ] ) )
344344 }
345- console . log ( '###ref' , ref )
346345 return p . then ( ( ) => Promise . resolve ( size ) )
347346}
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import Blob from './Blob'
66
77const log = new Log ( 'FetchPolyfill' )
88
9- // log.disable()
10- log . level ( 3 )
9+ log . disable ( )
10+ // log.level(3)
1111
1212export default class Fetch {
1313
@@ -67,7 +67,7 @@ class RNFetchBlobFetchPolyfill {
6767 log . verbose ( 'response' , resp )
6868 // release blob cache created when sending request
6969 if ( blobCache !== null && blobCache instanceof Blob )
70- // blobCache.close()
70+ blobCache . close ( )
7171 return Promise . resolve ( new RNFetchBlobFetchRepsonse ( resp ) )
7272 } )
7373
You can’t perform that action at this time.
0 commit comments