Skip to content

Commit

Permalink
Fix typo and remove outdated doc comment (#11472)
Browse files Browse the repository at this point in the history
* Fix typo

* Fix outdated doc comment [skip ci]
  • Loading branch information
jdreesen committed Apr 25, 2020
1 parent e010db8 commit d05334b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/babel-core/src/config/partial.js
Expand Up @@ -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;
Expand Down

0 comments on commit d05334b

Please sign in to comment.