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
576aab08
Unverified
Commit
576aab08
authored
Sep 13, 2021
by
Christopher Fujino
Committed by
GitHub
Sep 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add analysis_options.yaml to dev/conductor (#90005)
parent
fad5e4cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
analysis_options.yaml
dev/conductor/analysis_options.yaml
+16
-0
git.dart
dev/conductor/lib/git.dart
+4
-2
No files found.
dev/conductor/analysis_options.yaml
0 → 100644
View file @
576aab08
# Use the analysis options settings from the top level of the repo (not
# the ones from above, which include the `public_member_api_docs` rule).
include
:
../../analysis_options.yaml
analyzer
:
exclude
:
# Ignore protoc generated files
-
"
lib/proto/*"
linter
:
rules
:
avoid_catches_without_on_clauses
:
true
curly_braces_in_flow_control_structures
:
true
library_private_types_in_public_api
:
false
# Tool does not have any public API
prefer_relative_imports
:
true
unawaited_futures
:
true
dev/conductor/lib/git.dart
View file @
576aab08
...
...
@@ -63,10 +63,12 @@ class Git {
}
else
{
message
.
writeln
(
'Command "git
${args.join(' ')}
" failed to
$explanation
.'
);
}
if
((
result
.
stdout
as
String
).
isNotEmpty
)
if
((
result
.
stdout
as
String
).
isNotEmpty
)
{
message
.
writeln
(
'stdout from git:
\n
${result.stdout}
\n
'
);
if
((
result
.
stderr
as
String
).
isNotEmpty
)
}
if
((
result
.
stderr
as
String
).
isNotEmpty
)
{
message
.
writeln
(
'stderr from git:
\n
${result.stderr}
\n
'
);
}
throw
GitException
(
message
.
toString
());
}
}
...
...
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