Skip to content

Commit ec276d1

Browse files
authored
Remove unintended -v flag from binstub template (#4821)
1 parent d5fca3a commit ec276d1

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

lib/src/global_packages.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,10 +1031,8 @@ ${header}if [ -f $snapshot ]; then
10311031
if [ \$exit_code != 253 ]; then
10321032
exit \$exit_code
10331033
fi
1034-
dart $pubInvocation -v global run $runPubGlobal "\$@"
1035-
else
1036-
dart $pubInvocation global run $runPubGlobal "\$@"
10371034
fi
1035+
dart $pubInvocation global run $runPubGlobal "\$@"
10381036
''';
10391037
} else {
10401038
binstub = '''

tool/test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env -S dart run -r
2+
23
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
34
// for details. All rights reserved. Use of this source code is governed by a
45
// BSD-style license that can be found in the LICENSE file.

0 commit comments

Comments
 (0)