even more constness

This commit is contained in:
Girish Ramakrishnan
2022-04-14 20:30:00 -05:00
parent 01ce251596
commit 185d5d66ad
9 changed files with 35 additions and 34 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ function createTree(root, obj) {
fs.mkdirSync(root, { recursive: true });
function createSubTree(tree, curpath) {
for (var key in tree) {
for (const key in tree) {
if (typeof tree[key] === 'string') {
if (key.startsWith('link:')) {
fs.symlinkSync(tree[key], path.join(curpath, key.slice(5)));