Skip to content

Commit 781c189

Browse files
authored
minor tweak to the readme (#71)
* minor tweak to the readme * bump permissions
1 parent 16e3ad0 commit 781c189

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ on:
1111
jobs:
1212
publish:
1313
if: ${{ github.repository_owner == 'devoncarew' }}
14+
permissions:
15+
pull-requests: write
1416
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# analysis_server_lib
2-
3-
A library to access Dart's analysis server API.
4-
51
[![Buid status](https://github.com/devoncarew/analysis_server_lib/actions/workflows/build.yaml/badge.svg)](https://github.com/devoncarew/analysis_server_lib/actions/workflows/build.yaml)
62
[![pub package](https://img.shields.io/pub/v/analysis_server_lib.svg)](https://pub.dev/packages/analysis_server_lib)
73

4+
A library to access Dart's analysis server API.
5+
86
## What is the analysis server?
97

108
The analysis server is a long-running process that provides analysis results to other tools.
@@ -22,7 +20,7 @@ Here's a simple example of starting and communicating with the server:
2220
```dart
2321
import 'package:analysis_server_lib/analysis_server_lib.dart';
2422
25-
main() async {
23+
void main() async {
2624
AnalysisServer server = await AnalysisServer.create();
2725
await server.server.onConnected.first;
2826

0 commit comments

Comments
 (0)