File tree Expand file tree Collapse file tree
Plugins/BrowserStackAccessibilityLint Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ private struct BrowserStackCLIDownloader {
339339 private func defaultDownloadURL( ) throws -> URL {
340340 let os = try currentOSName ( )
341341 let arch = try currentArchName ( )
342- guard let url = URL ( string: " http ://api.browserstack.com/sdk/v1/download_cli?os=\( os) &os_arch= \( arch) " ) else {
342+ guard let url = URL ( string: " https ://api.browserstack.com/sdk/v1/download_cli?os=\( os) &os_arch= \( arch) " ) else {
343343 throw PluginError ( " Failed to create download URL for \( os) \( arch) . " )
344344 }
345345 return url
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ script_self_update() {
8888}
8989
9090download_binary () {
91- curl -R -z " $BINARY_ZIP_PATH " -L " http ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
91+ curl -R -z " $BINARY_ZIP_PATH " -L " https ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
9292 bsdtar -xvf " $BINARY_ZIP_PATH " -O > " $BINARY_PATH " && chmod 0775 " $BINARY_PATH "
9393}
9494
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ script_self_update() {
100100}
101101
102102download_binary () {
103- curl -R -z " $BINARY_ZIP_PATH " -L " http ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
103+ curl -R -z " $BINARY_ZIP_PATH " -L " https ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
104104 bsdtar -xvf " $BINARY_ZIP_PATH " -O > " $BINARY_PATH " && chmod 0775 " $BINARY_PATH "
105105}
106106
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ script_self_update() {
9999}
100100
101101download_binary () {
102- curl -R -z " $BINARY_ZIP_PATH " -L " http ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
102+ curl -R -z " $BINARY_ZIP_PATH " -L " https ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
103103 bsdtar -xvf " $BINARY_ZIP_PATH " -O > " $BINARY_PATH " && chmod 0775 " $BINARY_PATH "
104104}
105105
You can’t perform that action at this time.
0 commit comments