mirror of
https://github.com/FlipsideCrypto/user_metrics.git
synced 2026-02-06 11:17:49 +00:00
support for quotes in csv
This commit is contained in:
parent
218a12beb8
commit
284193f6ea
File diff suppressed because it is too large
Load Diff
@ -41,7 +41,11 @@ rows.shift();
|
||||
const addresses = [];
|
||||
console.log(rows);
|
||||
rows.map((row) => {
|
||||
const cosmos = row;
|
||||
let cosmos = row;
|
||||
if (cosmos.endsWith('"') && cosmos.startsWith('"')) {
|
||||
cosmos = cosmos.substring(1, cosmos.length - 1);
|
||||
}
|
||||
|
||||
const current = {};
|
||||
// current["cosmos"] = cosmos;
|
||||
targets.forEach((target) => {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user