Skip to content

Commit

Permalink
Move cached string to the end of the message
Browse files Browse the repository at this point in the history
I think it reads better this way
  • Loading branch information
JasonGross committed Nov 21, 2023
1 parent 4eebf31 commit b5447a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fiat-html/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ document.addEventListener('DOMContentLoaded', function() {
const cachedString = cached ? ` (cached on ${result.timestamp}${extraCachedString})` : '';
if (result.success) {
clearOutput();
updateStatus(`Synthesis${cachedString} completed in ${result.time} seconds`);
updateStatus(`Synthesis completed in ${result.time} seconds${cachedString}`);
handleSynthesisResultData(result.result);
} else {
handleException(result.result);
updateStatus(`Synthesis${cachedString} failed in ${result.time} seconds`);
updateStatus(`Synthesis failed in ${result.time} seconds${cachedString}`);
}
}

Expand Down

0 comments on commit b5447a2

Please sign in to comment.