spyfs icon indicating copy to clipboard operation
spyfs copied to clipboard

fs.closeSync error

Open LiST-GIT opened this issue 3 years ago • 2 comments

javascript const spyfs = require( 'spyfs' ); const sfs = spyfs.spy( fs, action => { console.log( action ); } ); const fd = sfs.openSync( __filename, 'r' ); sfs.closeSync( fd ); // error, return undefined

LiST-GIT avatar Mar 04 '22 10:03 LiST-GIT