Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitnimble committed Mar 20, 2024
1 parent c8487d1 commit c2b31d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/export_cfb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const exportCfb = async (
}) => EuropeanBrandEnvironment | AustraliaBrandEnvironment
) => {
console.debug(`Pulling image ${dockerImage}`);
// execSync(`docker pull ${dockerImage}`);
execSync(`docker pull ${dockerImage}`);
const brandCFB = {
kia: '',
hyundai: '',
Expand Down Expand Up @@ -69,7 +69,7 @@ export const exportCfb = async (
const cfbFile = `// Auto generated file on ${new Date().toISOString()}
// run \`npm run eu:export:cfb\` or \`npm run au:export:cfb\` respectively to update it
${brandCFB.kia.length > 0 ? `export const kiaCFB = Buffer.from('${brandCFB.kia}', 'base64');` : ''}
export const kiaCFB = Buffer.from('${brandCFB.kia}', 'base64');
export const hyundaiCFB = Buffer.from('${brandCFB.hyundai}', 'base64');`;

writeFileSync(join(__dirname, '..', 'src', 'constants', outputFilename), cfbFile);
Expand Down

0 comments on commit c2b31d5

Please sign in to comment.