diff --git a/lib/node_modules/@stdlib/_tools/github/set-topics/lib/factory.js b/lib/node_modules/@stdlib/_tools/github/set-topics/lib/factory.js index 433c0a093345..1ac8640fef47 100644 --- a/lib/node_modules/@stdlib/_tools/github/set-topics/lib/factory.js +++ b/lib/node_modules/@stdlib/_tools/github/set-topics/lib/factory.js @@ -90,21 +90,22 @@ function factory( options, clbk ) { throw new TypeError( format( 'invalid argument. Topics argument must be an array of strings. Value: `%s`.', topics ) ); } query( slug, topics, opts, done ); - /** - * Callback invoked after receiving an API response. - * - * @private - * @param {(Error|null)} error - error object - * @param {Object} data - response data - * @param {Object} info - response info - * @returns {void} - */ - function done( error, data, info ) { - error = error || null; - data = data || null; - info = info || null; - clbk( error, data, info ); - } + } + + /** + * Callback invoked after receiving an API response. + * + * @private + * @param {(Error|null)} error - error object + * @param {Object} data - response data + * @param {Object} info - response info + * @returns {void} + */ + function done( error, data, info ) { + error = error || null; + data = data || null; + info = info || null; + clbk( error, data, info ); } }