Skip to content

Commit 72d4081

Browse files
committed
fix
1 parent dcd2c3b commit 72d4081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/scripts/post-build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const _dirname = path.dirname(fileURLToPath(import.meta.url));
1414
for (const file of filesToProcess) {
1515
console.log(`Processing ${file} for telemetry token...`);
1616
const filePath = path.join(_dirname, '..', file);
17-
const content = fs.readFileSync(path.join(_dirname, '..', filePath), 'utf-8');
17+
const content = fs.readFileSync(filePath, 'utf-8');
1818
const updatedContent = content.replace('<TELEMETRY_TRACKING_TOKEN>', token);
1919
fs.writeFileSync(filePath, updatedContent, 'utf-8');
2020
}

0 commit comments

Comments
 (0)