未验证 提交 3e49d8a8 编写于 作者: A Alexander Aprelev 提交者: GitHub

Fix host_os literal for windows (#4568)

* Fix host_os literal for windows

* Fix slashes
上级 fc5fd6e3
......@@ -444,10 +444,10 @@ hooks = [
{
'name': 'frontend_server_packages',
'pattern': '.',
'condition': 'host_os == "windows"',
'condition': 'host_os == "win"',
'cwd': 'src/flutter/frontend_server/',
'action': [
'../../../src/third_party/dart/tools/sdks/win/dart-sdk/bin/pub.bat', 'get',
'..\\..\\..\\src\\third_party\\dart\\tools\\sdks\\win\\dart-sdk\\bin\\pub.bat', 'get',
],
},
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册