cypress 9.5.0 → 9.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/tasks/install.js +3 -1
- package/package.json +1 -1
package/lib/tasks/install.js
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
const _ = require('lodash');
|
4
4
|
|
5
|
+
const arch = require('arch');
|
6
|
+
|
5
7
|
const os = require('os');
|
6
8
|
|
7
9
|
const url = require('url');
|
@@ -129,7 +131,7 @@ const getBinaryUrlFromPrereleaseNpmUrl = npmUrl => {
|
|
129
131
|
version,
|
130
132
|
artifactSlug
|
131
133
|
} = matches.groups;
|
132
|
-
parsed.pathname = `/beta/binary/${version}/${os.platform()}-${
|
134
|
+
parsed.pathname = `/beta/binary/${version}/${os.platform()}-${arch()}/${artifactSlug}/cypress.zip`;
|
133
135
|
return parsed.format();
|
134
136
|
};
|
135
137
|
|