From 6c59ffb371820c34c220bb23c81b55ef8351c30a Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Mon, 10 Aug 2015 22:37:08 +0530 Subject: [PATCH] Added documentation for _shouldIgnore method --- packages/babel/src/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/babel/src/util.js b/packages/babel/src/util.js index 61b5ca8b56..bc340acf51 100644 --- a/packages/babel/src/util.js +++ b/packages/babel/src/util.js @@ -126,7 +126,8 @@ export function shouldIgnore(filename: string, ignore: Array, only): boolean { } /** - * [Please add a description.] + * Returns result of calling function with filename if pattern is a function. + * Otherwise returns result of matching pattern Regex with filename. */ function _shouldIgnore(pattern, filename) {