(nextFile)
| 237 | } |
| 238 | |
| 239 | _nextFile(nextFile) { |
| 240 | if (nextFile) this._filesQueue.push(nextFile); |
| 241 | if (this._busy) return; |
| 242 | this._busy = true; |
| 243 | const file = this._filesQueue.shift(); |
| 244 | this._displayFile(file); |
| 245 | } |
| 246 | |
| 247 | _dequeueFile() { |
| 248 | if (!this._filesQueue.length) { // nothing to do |
no test coverage detected