Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Mar 13, 2024
1 parent e1db2b4 commit f8cfd1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Liftoff.prototype.buildEnvironment = function (opts) {
searchPaths: searchPaths,
// If the configPath was not specified, look for the configName inside each `config` object to see if it was overridden
configPath: opts.configPath || arrayFind(config, function (cfg) {
if (cfg.hasOwnProperty(this.configName)) {
if (Object.prototype.hasOwnProperty.call(cfg, this.configName)) {
return cfg[this.configName];
}
}),
Expand Down

0 comments on commit f8cfd1e

Please sign in to comment.