cypress 9.5.0 → 9.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
|