function onResolve( error, pkgs ) {
		if ( error ) {
			debug( 'Encountered an error when resolving packages: %s', error.message );
			return cb( error );
		}
		debug( 'Successfully resolved packages.' );

		debug( 'Determining entry points...' );
		getEntries( pkgs, onEntries );
	}
Callback invoked upon reading a list of files.

@private
@param {(Error|null)} error - error object
@param {ObjectArray} pkgs - packages
@returns {void}