Skip to content

Commit

Permalink
Update ceconan.ts (#4534)
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Jan 4, 2023
1 parent 8a28716 commit ee82d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/buildenvsetup/ceconan.ts
Expand Up @@ -76,7 +76,7 @@ export class BuildEnvSetupCeConanDirect extends BuildEnvSetupBase {
};

request(url, settings, (err, res, body) => {
if (res.statusCode === 404) {
if (res && res.statusCode === 404) {
reject(`Not found (${url})`);
} else if (err) {
reject(err);
Expand Down

0 comments on commit ee82d72

Please sign in to comment.