Skip to content

Commit

Permalink
Update ceconan.ts (#4534)
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf authored and mattgodbolt committed Jan 24, 2023
1 parent 4e2802a commit 02748e4
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 02748e4

Please sign in to comment.