From d05334bde291c87ca688055b0be6b08f9b9ce219 Mon Sep 17 00:00:00 2001 From: Jacob Dreesen Date: Sat, 25 Apr 2020 10:24:22 +0200 Subject: [PATCH] Fix typo and remove outdated doc comment (#11472) * Fix typo * Fix outdated doc comment [skip ci] --- packages/babel-core/src/config/partial.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/babel-core/src/config/partial.js b/packages/babel-core/src/config/partial.js index 615f3dc08b73..e071484ca17e 100644 --- a/packages/babel-core/src/config/partial.js +++ b/packages/babel-core/src/config/partial.js @@ -189,11 +189,7 @@ class PartialConfig { } /** - * Returns true if their is a config file in the filesystem for this config. - * - * While this only means .babelrc(.mjs)?/package.json#babel right now, it - * may well expand in the future, so using this is recommended vs checking - * this.babelrc directly. + * Returns true if there is a config file in the filesystem for this config. */ hasFilesystemConfig(): boolean { return this.babelrc !== undefined || this.config !== undefined;