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
f90fcba4
Unverified
Commit
f90fcba4
authored
Mar 03, 2020
by
Jonah Williams
Committed by
GitHub
Mar 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools] disable mirrors in tool snapshot (#51801)
parent
3551a51d
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 @
f90fcba4
...
@@ -127,7 +127,7 @@ function upgrade_flutter () {
...
@@ -127,7 +127,7 @@ function upgrade_flutter () {
retry_upgrade
retry_upgrade
"
$DART
"
$FLUTTER_TOOL_ARGS
--snapshot
=
"
$SNAPSHOT_PATH
"
--packages
=
"
$FLUTTER_TOOLS_DIR
/.packages"
"
$SCRIPT_PATH
"
"
$DART
"
$FLUTTER_TOOL_ARGS
--snapshot
=
"
$SNAPSHOT_PATH
"
--packages
=
"
$FLUTTER_TOOLS_DIR
/.packages"
--no-enable-mirrors
"
$SCRIPT_PATH
"
echo
"
$revision
"
>
"
$STAMP_PATH
"
echo
"
$revision
"
>
"
$STAMP_PATH
"
fi
fi
# The exit here is duplicitous since the function is run in a subshell,
# The exit here is duplicitous since the function is run in a subshell,
...
...
bin/flutter.bat
View file @
f90fcba4
...
@@ -152,7 +152,7 @@ GOTO :after_subroutine
...
@@ -152,7 +152,7 @@ GOTO :after_subroutine
POPD
POPD
IF "%FLUTTER_TOOL_ARGS%" == "" (
IF "%FLUTTER_TOOL_ARGS%" == "" (
"%dart%" --snapshot="%snapshot_path%" --packages="%flutter_tools_dir%\.packages" "%script_path%"
"%dart%" --snapshot="%snapshot_path%" --packages="%flutter_tools_dir%\.packages"
--no-enable-mirrors
"%script_path%"
) else (
) else (
"%dart%" "%FLUTTER_TOOL_ARGS%" --snapshot="%snapshot_path%" --packages="%flutter_tools_dir%\.packages" "%script_path%"
"%dart%" "%FLUTTER_TOOL_ARGS%" --snapshot="%snapshot_path%" --packages="%flutter_tools_dir%\.packages" "%script_path%"
)
)
...
...
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