mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 07:21:02 -04:00
Fixed travis second error
This commit is contained in:
parent
5bab9b88e8
commit
e8a2040dd6
3 changed files with 8 additions and 2 deletions
5
package-lock.json
generated
5
package-lock.json
generated
|
@ -2419,6 +2419,11 @@
|
|||
"cssom": "0.3.2"
|
||||
}
|
||||
},
|
||||
"csv-string": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/csv-string/-/csv-string-3.1.2.tgz",
|
||||
"integrity": "sha512-JzjYuRSU/5y6H9BqwaJTNsF8dYlFql14n1GIOgu2QHFCoU20U2DaeMShyIZuvU7WS0n7u+AMhgUOuqRZ9eFhog=="
|
||||
},
|
||||
"ctph.js": {
|
||||
"version": "0.0.5",
|
||||
"resolved": "https://registry.npmjs.org/ctph.js/-/ctph.js-0.0.5.tgz",
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
"bootstrap-switch": "^3.3.4",
|
||||
"crypto-api": "^0.8.0",
|
||||
"crypto-js": "^3.1.9-1",
|
||||
"csv-string": "^3.1.2",
|
||||
"ctph.js": "0.0.5",
|
||||
"diff": "^3.4.0",
|
||||
"escodegen": "^1.9.1",
|
||||
|
|
|
@ -22,7 +22,7 @@ const CSVParser = {
|
|||
if (detectedDelimeter !== args[0]) {
|
||||
args[0] = detectedDelimeter;
|
||||
}
|
||||
array = CSV.parse(input, args[0], args[1]);
|
||||
array = CSV.parse(input, args[0], args[1]);
|
||||
} else {
|
||||
array = "The passed in data is not a csv string. Please pass in a csv string.";
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ const CSVParser = {
|
|||
string = "The passed in data is not a string that can be converted to a CSV.";
|
||||
}
|
||||
return string;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export default CSVParser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue