change tests

This commit is contained in:
Dana 2023-03-14 14:53:40 +02:00
parent fd3c37a7ee
commit 89503c278d
No known key found for this signature in database
GPG key ID: CE3464681E428690
2 changed files with 1 additions and 1 deletions

View file

@ -44,6 +44,7 @@ const getPlatform = (os?: string): string => {
}; };
const getBaseUrl = (platform: string, version: string): string => { const getBaseUrl = (platform: string, version: string): string => {
console.log(`------https://cli.codecov.io/${platform}/${getUploaderName(platform)}`);
return `https://cli.codecov.io/${platform}/${getUploaderName(platform)}`; return `https://cli.codecov.io/${platform}/${getUploaderName(platform)}`;
// https://cli.codecov.io/v0.1.1_test/linux/codecov // https://cli.codecov.io/v0.1.1_test/linux/codecov
}; };

View file

@ -25,7 +25,6 @@ try {
https.get(getBaseUrl(platform, uploaderVersion), (res) => { https.get(getBaseUrl(platform, uploaderVersion), (res) => {
// Image will be stored at this path // Image will be stored at this path
const filePath = fs.createWriteStream(filename); const filePath = fs.createWriteStream(filename);
console.log('filePath', filePath);
res.pipe(filePath); res.pipe(filePath);
filePath filePath
.on('error', (err) => { .on('error', (err) => {