function onResult( result ) {
		if (
			!isString( result ) &&
			!result.ok &&
			!result.todo
		) {
			exitCode = 1;
		}
	}
Callback invoked upon a `result` event.

@private
@param {(string|Object)} result - result