Skip to content

Commit

Permalink
TBS: Rename variable for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
thsig committed Apr 1, 2020
1 parent 0e7e07b commit ac34f2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions garden-service/src/tasks/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function getModuleWatchTasks({
})
)

const serviceNamesForModule = [...module.serviceNames, ...dependantSourceModuleServiceNames]
const serviceNamesUsingModule = [...module.serviceNames, ...dependantSourceModuleServiceNames]

/**
* If a service is deployed with hot reloading enabled, we don't rebuild its module
Expand All @@ -60,7 +60,7 @@ export async function getModuleWatchTasks({
* hotReloadServiceNames and has module as its sourceModule (in which case we
* also don't add a build task for the dependant's module below).
*/
if (intersection(serviceNamesForModule, hotReloadServiceNames).length === 0) {
if (intersection(serviceNamesUsingModule, hotReloadServiceNames).length === 0) {
buildTasks = await BuildTask.factory({
garden,
graph,
Expand Down

0 comments on commit ac34f2c

Please sign in to comment.