Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Remove CHANGENOW_TOKEN reference from compile-wrapper.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
sproxet committed May 5, 2022
1 parent 926578c commit 078757c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron-vue/compile-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = function (config) {
writeFileSync(join(__dirname, '..', 'src', 'version.js'), `// This file is automatically generated by electron-vue/compile-wrapper.js\nexport default "${version}-${revision}";\n`);

const keys = {HAS_KEYS: true};
for (const key of ['SWAPZONE_API_KEY', 'EXOLIX_AUTHORIZATION', 'CHANGENOW_TOKEN', 'CHANGENOW_API_KEY']) {
for (const key of ['SWAPZONE_API_KEY', 'EXOLIX_AUTHORIZATION', 'CHANGENOW_API_KEY']) {
keys[key] = process.env[key] || '';
if (!keys[key]) keys.HAS_KEYS = false;
}
Expand Down

0 comments on commit 078757c

Please sign in to comment.