Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 25b32d8

Browse files
Merge branch 'master' into enhancements/async-git-setup-rollup
2 parents c132224 + a1ec1cb commit 25b32d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2016 GitHub
3+
Copyright (c) 2016-2018 GitHub
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

src/GitHub.Api/Tasks/TaskBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ public TaskBase(CancellationToken token)
597597
{
598598
Task = new Task<TResult>(() =>
599599
{
600-
var ret = RunWithData(DependsOn?.Successful ?? previousSuccess, DependsOn.Successful ? ((ITask<T>)DependsOn).Result : default(T));
600+
var ret = RunWithData(DependsOn?.Successful ?? previousSuccess, (DependsOn?.Successful ?? false) ? ((ITask<T>)DependsOn).Result : default(T));
601601
tcs.SetResult(ret);
602602
AdjustNextTask(ret);
603603
return ret;

0 commit comments

Comments
 (0)