diff options
author | Johannes <johannes.rieken@gmail.com> | 2022-06-08 18:49:21 +0300 |
---|---|---|
committer | Johannes <johannes.rieken@gmail.com> | 2022-06-08 18:49:21 +0300 |
commit | 0656d21d11910e1b241d7d6c52761d89c0ba23a4 (patch) | |
tree | 1b83157b21fe9f2702fa8a2019d500de57154dcf /build/azure-pipelines | |
parent | aa23a0dbb749fd3a51a8ed217538c563b8ff012a (diff) |
auto-fixed prefer-const violation
Diffstat (limited to 'build/azure-pipelines')
-rw-r--r-- | build/azure-pipelines/common/computeNodeModulesCacheKey.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/azure-pipelines/common/computeNodeModulesCacheKey.ts b/build/azure-pipelines/common/computeNodeModulesCacheKey.ts index 2eed5fe7adb..2886b28b438 100644 --- a/build/azure-pipelines/common/computeNodeModulesCacheKey.ts +++ b/build/azure-pipelines/common/computeNodeModulesCacheKey.ts @@ -19,7 +19,7 @@ shasum.update(fs.readFileSync(path.join(ROOT, '.yarnrc'))); shasum.update(fs.readFileSync(path.join(ROOT, 'remote/.yarnrc'))); // Add `package.json` and `yarn.lock` files -for (let dir of dirs) { +for (const dir of dirs) { const packageJsonPath = path.join(ROOT, dir, 'package.json'); const packageJson = JSON.parse(fs.readFileSync(packageJsonPath).toString()); const relevantPackageJsonSections = { |