File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ export default class OneDriveFileSystem implements FileSystem {
140
140
return this . request (
141
141
`https://graph.microsoft.com/v1.0/me/drive/special/approot:${ path } :/children`
142
142
) . then ( ( data ) => {
143
- console . log ( data ) ;
144
143
const list : File [ ] = [ ] ;
145
144
data . value . forEach ( ( val : any ) => {
146
145
list . push ( {
Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ export class BgExecScriptWarp extends ExecScript {
46
46
setTimeout . set ( t , true ) ;
47
47
return t ;
48
48
} ;
49
- thisContext . clearTimeout = function ( t : number | undefined ) {
49
+ thisContext . clearTimeout = function ( t : number ) {
50
+ setTimeout . delete ( t ) ;
50
51
global . clearTimeout ( t ) ;
51
52
} ;
52
53
thisContext . setInterval = function (
@@ -56,7 +57,6 @@ export class BgExecScriptWarp extends ExecScript {
56
57
) {
57
58
const t = global . setInterval (
58
59
function ( ) {
59
- setInterval . delete ( t ) ;
60
60
if ( typeof handler === "function" ) {
61
61
handler ( ) ;
62
62
}
@@ -67,7 +67,8 @@ export class BgExecScriptWarp extends ExecScript {
67
67
setInterval . set ( t , true ) ;
68
68
return t ;
69
69
} ;
70
- thisContext . clearInterval = function ( t : number | undefined ) {
70
+ thisContext . clearInterval = function ( t : number ) {
71
+ setInterval . delete ( t ) ;
71
72
global . clearInterval ( t ) ;
72
73
} ;
73
74
// @ts -ignore
You can’t perform that action at this time.
0 commit comments