From 4663b1035e7fe2bff3fdc2aca0574b84747a51ba Mon Sep 17 00:00:00 2001 From: Ryan Fitzer Date: Fri, 6 Dec 2019 16:50:05 -0800 Subject: [PATCH] Update description for `format.formatter` Make it clear that the function is bound to the file object. --- lib/register/format.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/register/format.js b/lib/register/format.js index 00f4372d..0b367080 100644 --- a/lib/register/format.js +++ b/lib/register/format.js @@ -18,7 +18,7 @@ * @param {Object} format * @param {String} format.name - Name of the format to be referenced in your config.json * @param {Function} format.formatter - Function to perform the format. Takes 2 arguments, `dictionary` and `config` - * Must return a string. + * Must return a string. Function is bound to its file object in the `platform.files` array. * @returns {module:style-dictionary} * @example * ```js