Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
drupalizer
Commits
f0286e75
Commit
f0286e75
authored
Jun 28, 2016
by
Samuel Sirois
Browse files
Fix bug with default confirmation option when workspace is not clean
parent
53f3c9de
Changes
1
Hide whitespace changes
Inline
Side-by-side
__init__.py
View file @
f0286e75
...
@@ -63,7 +63,7 @@ def update():
...
@@ -63,7 +63,7 @@ def update():
if
(
git
.
isGitDirty
()):
if
(
git
.
isGitDirty
()):
if
(
confirm
(
red
(
'There are warnings on status of your repositories. '
if
(
confirm
(
red
(
'There are warnings on status of your repositories. '
'Do you want to continue and reset all changes to remote repositories'' states?'
,
default
=
False
))
)
:
'Do you want to continue and reset all changes to remote repositories'' states?'
)
,
default
=
False
)):
execute
(
drush
.
make
,
'update'
)
execute
(
drush
.
make
,
'update'
)
execute
(
drush
.
updatedb
)
execute
(
drush
.
updatedb
)
execute
(
behat
.
init
)
execute
(
behat
.
init
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment