Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
88fc38cf
Unverified
Commit
88fc38cf
authored
Jan 31, 2019
by
Devon Carew
Committed by
GitHub
Jan 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't pass the --packages-dir flag (#27323)
parent
dbd1b317
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
flutter
bin/flutter
+1
-1
flutter.bat
bin/flutter.bat
+1
-1
No files found.
bin/flutter
View file @
88fc38cf
...
...
@@ -43,7 +43,7 @@ function retry_upgrade {
local
total_tries
=
"10"
local
remaining_tries
=
$((
$total_tries
-
1
))
while
[[
"
$remaining_tries
"
>
0
]]
;
do
(
cd
"
$FLUTTER_TOOLS_DIR
"
&&
"
$PUB
"
upgrade
"
$VERBOSITY
"
--no-packages-dir
)
&&
break
(
cd
"
$FLUTTER_TOOLS_DIR
"
&&
"
$PUB
"
upgrade
"
$VERBOSITY
"
)
&&
break
echo
"Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (
$remaining_tries
tries left)"
remaining_tries
=
$((
$remaining_tries
-
1
))
sleep
5
...
...
bin/flutter.bat
View file @
88fc38cf
...
...
@@ -136,7 +136,7 @@ GOTO :after_subroutine
SET /A remaining_tries=%total_tries%-1
:retry_pub_upgrade
ECHO Running pub upgrade...
CALL "%pub%" upgrade "%VERBOSITY%"
--no-packages-dir
CALL "%pub%" upgrade "%VERBOSITY%"
IF "%ERRORLEVEL%" EQU "0" goto :upgrade_succeeded
ECHO Error Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (%remaining_tries% tries left)
timeout /t 5 /nobreak 2>NUL
...
...
Write
Preview
Markdown
is supported
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