Skip to content

Commit

Permalink
refactor: Fix typo in lib/classes/Variables.js (#10093)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-poli committed Oct 14, 2021
1 parent 03b4b3d commit 49f0913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/classes/Variables.js
Expand Up @@ -122,7 +122,7 @@ class Variables {
// #############
// ## SERVICE ##
// #############
disableDepedentServices(func) {
disableDependentServices(func) {
const dependencyMessage = (configValue, serviceName) =>
`Variable dependency failure: variable '${configValue}' references ${serviceName} but using that service requires a concrete value to be called.`;
// replace and then restore the methods for obtaining values from dependent services. the
Expand Down Expand Up @@ -159,7 +159,7 @@ class Variables {
path: 'serverless.service.provider.profile',
},
];
return this.disableDepedentServices(() => {
return this.disableDependentServices(() => {
const prepopulations = requiredConfigs.map((config) =>
this.populateValue(config.value, true) // populate
.then((populated) => Object.assign(config, { populated }))
Expand Down

0 comments on commit 49f0913

Please sign in to comment.