@@ -9,7 +9,7 @@ set notifier_version [lindex $argv 0]
99set rn_version [lindex $argv 1]
1010set fixture_path [lindex $argv 2]
1111
12- set MAZE_RUNNER_PORT $env (MAZE_RUNNER_PORT )
12+ set MAZE_PORT $env (MAZE_PORT )
1313
1414# Process React Native version string
1515set 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
2525# Handle CLI prompts
2626expect " Do you want to continue anyway?" { send -- " Y\r" }
2727expect " 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" }
3232expect " If you want the latest version of @bugsnag/react-native hit enter, otherwise type the version you want" { send -- " $notifier_version \r" }
3333expect " What is your Bugsnag project API key?" { send -- " 1234567890ABCDEF1234567890ABCDEF\r" }
3434expect " Do you want to install the BugSnag CLI to allow you to upload JavaScript source maps?" { send -- " Y\r" }
0 commit comments