small fixes
This commit is contained in:
		| @ -113,14 +113,12 @@ class Extractor { | ||||
|         let id = this._checkTaskId(taskid, this._tasks.length - 1); | ||||
|         if (id < 0) return; | ||||
|         let results = this._tasks[id].results | ||||
|         results.unshift(this._tasks[id].fieldSelectors); | ||||
|  | ||||
|         let exResults = new ExtractResult(results); | ||||
|  | ||||
|         if (!results.length) { | ||||
|             logger.info(`No result for task #${id}. Forget to call ".start()"?`); | ||||
|             return; | ||||
|         } | ||||
|         results.unshift(this._tasks[id].fieldSelectors); | ||||
|         let exResults = new ExtractResult(results); | ||||
|         let msg = ` | ||||
| Please confirm to download (${results.length - 1} items): | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user