Skip to content

Commit

Permalink
Minor refactoring.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 600778289
Change-Id: Ib2cc06f7d487679439a2b430619d278290005e00
  • Loading branch information
joeleba authored and copybara-github committed Jan 23, 2024
1 parent cfc7581 commit 75af1df
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,7 @@ private GraphInconsistencyReceiver getGraphInconsistencyReceiverForCommand(

private boolean rewindingEnabled(OptionsProvider options) throws AbruptExitException {
var buildRequestOptions = options.getOptions(BuildRequestOptions.class);
if (buildRequestOptions == null || !buildRequestOptions.rewindLostInputs) {
return false;
}
return true;
return buildRequestOptions != null && buildRequestOptions.rewindLostInputs;
}

/**
Expand Down

0 comments on commit 75af1df

Please sign in to comment.