Skip to content

Commit f23f2b9

Browse files
author
github-actions
committed
-
[TRANSFER][PUBLISH]
1 parent f566bcd commit f23f2b9

File tree

2 files changed

+2
-262
lines changed

2 files changed

+2
-262
lines changed

README.md

Lines changed: 0 additions & 260 deletions
This file was deleted.

build/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ class build {
148148
'__EXAMPLE_SYMBOL__': 'BTC/USDC',
149149
};
150150
const exchangeConfig = this.globalConfigs['exchanges'][this.exchange];
151-
for (const key in defaults) {
151+
const allReplacements = Object.assign (defaults, exchangeConfig);
152+
for (const key in allReplacements) {
152153
const defaultValue = defaults[key];
153154
let value = exchangeConfig[key] || defaultValue; // use default if value not set
154155
newText = newText.replace(new RegExp(`${key}`, 'g'), value);
155156
}
156-
// newText = newText.replace(/__PYTHON_PACKAGE_KEY__/g, sanitizePackageName (exchangeConfig['__PYTHON_PACKAGE_NAME__']));
157157
return newText;
158158
}
159159

0 commit comments

Comments
 (0)