@@ -9,7 +9,7 @@ set notifier_version [lindex $argv 0]
9
9
set rn_version [lindex $argv 1]
10
10
set fixture_path [lindex $argv 2]
11
11
12
- set MAZE_RUNNER_PORT $env (MAZE_RUNNER_PORT )
12
+ set MAZE_PORT $env (MAZE_PORT )
13
13
14
14
# Process React Native version string
15
15
set rn_version_cleaned [string map {" .expo.ejected" " " " _" " ." } [string range $rn_version 2 end]]
@@ -25,10 +25,10 @@ spawn ./node_modules/.bin/bugsnag-react-native-cli init
25
25
# Handle CLI prompts
26
26
expect " Do you want to continue anyway?" { send -- " Y\r" }
27
27
expect " Are you using Bugsnag on-premise?" { send -- " Y\r" }
28
- expect " What is your Bugsnag notify endpoint?" { send -- " http://bs-local.com:$MAZE_RUNNER_PORT /notify\r" }
29
- expect " What is your Bugsnag sessions endpoint?" { send -- " http://bs-local.com:$MAZE_RUNNER_PORT /sessions\r" }
30
- expect " What is your Bugsnag upload endpoint?" { send -- " http://localhost:$MAZE_RUNNER_PORT \r" }
31
- expect " What is your Bugsnag build endpoint?" { send -- " http://localhost:$MAZE_RUNNER_PORT /builds\r" }
28
+ expect " What is your Bugsnag notify endpoint?" { send -- " http://bs-local.com:$MAZE_PORT /notify\r" }
29
+ expect " What is your Bugsnag sessions endpoint?" { send -- " http://bs-local.com:$MAZE_PORT /sessions\r" }
30
+ expect " What is your Bugsnag upload endpoint?" { send -- " http://localhost:$MAZE_PORT \r" }
31
+ expect " What is your Bugsnag build endpoint?" { send -- " http://localhost:$MAZE_PORT /builds\r" }
32
32
expect " If you want the latest version of @bugsnag/react-native hit enter, otherwise type the version you want" { send -- " $notifier_version \r" }
33
33
expect " What is your Bugsnag project API key?" { send -- " 1234567890ABCDEF1234567890ABCDEF\r" }
34
34
expect " Do you want to install the BugSnag CLI to allow you to upload JavaScript source maps?" { send -- " Y\r" }
0 commit comments