File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ GridReadStream.prototype._open = function _open () {
104
104
105
105
var self = this ;
106
106
107
- // Open the sore
107
+ // Open the store
108
108
this . _store . open ( function ( err , gs ) {
109
109
if ( err ) return self . _error ( err ) ;
110
110
@@ -177,7 +177,7 @@ GridReadStream.prototype._push = function _push () {
177
177
// Override the chunk size if the chunk size is more than the size that is left until EOF/range
178
178
if ( self . range . endPos - self . _currentPos < self . _chunkSize ) { readChunkSize = self . range . endPos - self . _currentPos + 1 } ;
179
179
180
- // Read the chunk from GridSore . Head moves automatically after each read.
180
+ // Read the chunk from GridStore . Head moves automatically after each read.
181
181
self . _store . read ( readChunkSize , function ( err , data ) {
182
182
183
183
// If error stop and close the store
@@ -224,13 +224,13 @@ GridReadStream.prototype._close = function _close () {
224
224
*/
225
225
226
226
GridReadStream . prototype . _error = function _error ( err ) {
227
- // Set end true so that no further reads from GridSotre are possible and close the store
227
+ // Set end true so that no further reads from GridStore are possible and close the store
228
228
this . _end = true ;
229
229
230
230
// Emit the error event
231
231
this . emit ( 'error' , err ) ;
232
232
233
- // Close the gridsore if an error is received.
233
+ // Close the gridstore if an error is received.
234
234
this . _close ( )
235
235
}
236
236
You can’t perform that action at this time.
0 commit comments