Fix typo and remove outdated doc comment (#11472)

* Fix typo

* Fix outdated doc comment [skip ci]
This commit is contained in:
Jacob Dreesen 2020-04-25 10:24:22 +02:00 committed by GitHub
parent e010db84aa
commit d05334bde2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;