Skip to content

Commit 5f9a910

Browse files
chore: update dart template for 0.6.0 (#10462)
Co-authored-by: Andy Perelson <ajperel@users.noreply.github.com>
1 parent 4b0dcc4 commit 5f9a910

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

templates/init/functions/dart/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ environment:
77
sdk: ^3.9.0
88

99
dependencies:
10-
firebase_functions: ^0.5.0
10+
firebase_functions: ^0.6.0
1111

1212
dev_dependencies:
1313
build_runner: ^2.4.0

templates/init/functions/dart/server.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'package:firebase_functions/firebase_functions.dart';
22

3-
void main(List<String> args) {
4-
fireUp(args, (firebase) {
3+
void main() {
4+
runFunctions((firebase) {
55
// https://firebase.google.com/docs/functions/http-events
66
firebase.https.onRequest(
77
name: 'helloWorld',

0 commit comments

Comments
 (0)