Skip to content

Commit fb1094b

Browse files
author
Dillon Nys
committed
Clean up
1 parent 1dbc80f commit fb1094b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mono_repo/lib/src/commands/github/github_yaml.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,13 @@ extension on CIJobEntry {
283283
// If the task specifies a full action, update the job-specific
284284
// properties with the current context.
285285
if (action != null) {
286-
var workingDirectory = task.action?.workingDirectory;
286+
var workingDirectory = action.workingDirectory;
287287
if (workingDirectory != null) {
288288
workingDirectory = posix.normalize(
289289
posix.join(package, workingDirectory),
290290
);
291291
}
292-
var ifCondition = task.action?.ifCondition;
292+
var ifCondition = action.ifCondition;
293293
if (ifCondition != null) {
294294
ifCondition += " && steps.$pubStepId.conclusion == 'success'";
295295
}

0 commit comments

Comments
 (0)