Fixed warnings
This commit is contained in:
parent
21455a327c
commit
c0457f0204
8 changed files with 7 additions and 10 deletions
|
@ -1,6 +1,5 @@
|
||||||
name: angel_container_generator
|
name: angel_container_generator
|
||||||
version: 2.0.0
|
version: 2.0.0
|
||||||
author: Tobe O <thosakwe@gmail.com>
|
|
||||||
description: Codegen support for using pkg:reflectable with pkg:angel_container.
|
description: Codegen support for using pkg:reflectable with pkg:angel_container.
|
||||||
homepage: https://github.com/angel-dart/container.git
|
homepage: https://github.com/angel-dart/container.git
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
|
@ -2,7 +2,6 @@ name: angel_eventsource
|
||||||
version: 2.0.0
|
version: 2.0.0
|
||||||
description: Server-sent Events (SSE) plugin for Angel.
|
description: Server-sent Events (SSE) plugin for Angel.
|
||||||
homepage: https://github.com/angel-dart/eventsource
|
homepage: https://github.com/angel-dart/eventsource
|
||||||
author: Tobe O <thosakwe@gmail.com>
|
|
||||||
publish_to: none
|
publish_to: none
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.10.0 <3.0.0"
|
sdk: ">=2.10.0 <3.0.0"
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import 'dart:io';
|
|
||||||
|
|
||||||
import 'package:angel3_container/mirrors.dart';
|
import 'package:angel3_container/mirrors.dart';
|
||||||
import 'package:angel3_framework/angel3_framework.dart';
|
import 'package:angel3_framework/angel3_framework.dart';
|
||||||
import 'package:angel3_framework/http.dart';
|
import 'package:angel3_framework/http.dart';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import 'dart:io';
|
|
||||||
|
|
||||||
import 'package:angel3_container/mirrors.dart';
|
import 'package:angel3_container/mirrors.dart';
|
||||||
import 'package:angel3_framework/angel3_framework.dart';
|
import 'package:angel3_framework/angel3_framework.dart';
|
||||||
import 'package:angel3_framework/http.dart';
|
import 'package:angel3_framework/http.dart';
|
||||||
|
|
|
@ -243,7 +243,9 @@ abstract class ResponseContext<RawResponse>
|
||||||
final m = _findRoute(route.router);
|
final m = _findRoute(route.router);
|
||||||
|
|
||||||
if (m != null) return m;
|
if (m != null) return m;
|
||||||
} else if (route.name == name) return route;
|
} else if (route.name == name) {
|
||||||
|
return route;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -31,6 +31,8 @@ AnsiCode chooseLogColor(Level level) {
|
||||||
} else if (level == Level.CONFIG ||
|
} else if (level == Level.CONFIG ||
|
||||||
level == Level.FINE ||
|
level == Level.FINE ||
|
||||||
level == Level.FINER ||
|
level == Level.FINER ||
|
||||||
level == Level.FINEST) return lightGray;
|
level == Level.FINEST) {
|
||||||
|
return lightGray;
|
||||||
|
}
|
||||||
return resetAll;
|
return resetAll;
|
||||||
}
|
}
|
||||||
|
|
|
@ -220,5 +220,5 @@ class CustomCloseService extends Service {
|
||||||
@Expose('/foo')
|
@Expose('/foo')
|
||||||
class FooController extends Controller {
|
class FooController extends Controller {
|
||||||
@Expose('/bar')
|
@Expose('/bar')
|
||||||
bar() async => 'baz';
|
Future<String> bar() async => 'baz';
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:convert';
|
|
||||||
import 'package:angel3_orm/angel3_orm.dart';
|
import 'package:angel3_orm/angel3_orm.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
import 'models/has_map.dart';
|
import 'models/has_map.dart';
|
||||||
|
|
Loading…
Reference in a new issue