Skip to content

Commit 74261b5

Browse files
chore(deps): bump lints from 6.0.0 to 6.1.0 (#46)
* chore(deps): bump lints from 6.0.0 to 6.1.0 Bumps [lints](https://github.com/dart-lang/core/tree/main/pkgs) from 6.0.0 to 6.1.0. - [Release notes](https://github.com/dart-lang/core/releases) - [Commits](https://github.com/dart-lang/core/commits/lints-v6.1.0/pkgs) --- updated-dependencies: - dependency-name: lints dependency-version: 6.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * style: use null-aware elements in deployments payload --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kai Koenig <kai@ventego-creative.co.nz>
1 parent b866985 commit 74261b5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/src/deployments/deployments_api.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ class DeploymentsApi {
2727

2828
final payload = {
2929
'version': version,
30-
if (ownerName != null) 'ownerName': ownerName,
31-
if (emailAddress != null) 'emailAddress': emailAddress,
32-
if (comment != null) 'comment': comment,
33-
if (scmIdentifier != null) 'scmIdentifier': scmIdentifier,
34-
if (scmType != null) 'scmType': scmType,
30+
'ownerName': ?ownerName,
31+
'emailAddress': ?emailAddress,
32+
'comment': ?comment,
33+
'scmIdentifier': ?scmIdentifier,
34+
'scmType': ?scmType,
3535
'deployedAt': DateTime.now().toUtc().toIso8601String(),
3636
};
3737

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,10 @@ packages:
237237
dependency: "direct dev"
238238
description:
239239
name: lints
240-
sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0
240+
sha256: "12f842a479589fea194fe5c5a3095abc7be0c1f2ddfa9a0e76aed1dbd26a87df"
241241
url: "https://pub.dev"
242242
source: hosted
243-
version: "6.0.0"
243+
version: "6.1.0"
244244
logging:
245245
dependency: transitive
246246
description:

0 commit comments

Comments
 (0)