We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcd2c3b commit 72d4081Copy full SHA for 72d4081
packages/cli/scripts/post-build.ts
@@ -14,7 +14,7 @@ const _dirname = path.dirname(fileURLToPath(import.meta.url));
14
for (const file of filesToProcess) {
15
console.log(`Processing ${file} for telemetry token...`);
16
const filePath = path.join(_dirname, '..', file);
17
- const content = fs.readFileSync(path.join(_dirname, '..', filePath), 'utf-8');
+ const content = fs.readFileSync(filePath, 'utf-8');
18
const updatedContent = content.replace('<TELEMETRY_TRACKING_TOKEN>', token);
19
fs.writeFileSync(filePath, updatedContent, 'utf-8');
20
}
0 commit comments