File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/projects/create/containers Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,8 @@ module.exports = (() => {
22 const branch = process . env . CIRCLE_BRANCH || 'dev'
33
44 // for security reason don't let to require any arbitrary file defined in process.env
5- if ( [ 'dev' , ' master', 'qa' ] . indexOf ( branch ) < 0 ) {
6- throw Error ( 'Unsupported CIRCLE_BRANCH value. ')
5+ if ( [ 'master' , 'qa' ] . indexOf ( branch ) < 0 ) {
6+ return require ( './dev ')
77 }
8-
98 return require ( './' + branch )
109} ) ( )
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ class CreateConainer extends React.Component {
209209 if ( wizardStep === ProjectWizard . Steps . WZ_STEP_INCOMP_PROJ_CONF ) {
210210 let productUrl = productType ? ( '/' + productType ) : ''
211211 productUrl = ! productType && projectType ? ( '/' + projectType ) : productUrl
212- this . props . history . push ( NEW_PROJECT_PATH + productUrl + '/incomplete' )
212+ this . props . history . push ( NEW_PROJECT_PATH + productUrl + '/incomplete' + window . location . search )
213213 }
214214 if ( wizardStep === ProjectWizard . Steps . WZ_STEP_SELECT_PROJ_TYPE ) {
215215 this . props . history . push ( NEW_PROJECT_PATH + '/' + window . location . search )
You can’t perform that action at this time.
0 commit comments