Skip to content

Commit

Permalink
chorre: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
GabDug committed Dec 13, 2024
1 parent 5bc0789 commit 653202d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export const ActionOutput: FC<{
// eslint-disable-next-line no-nested-ternary
const timeElapsed = job.finished_at
? Duration.fromMillis(
DateTime.fromISO(job.finished_at).diff(DateTime.fromISO(job.started_at)).toMillis()
DateTime.fromISO(job.finished_at)
.diff(DateTime.fromISO(job.started_at))
.toMillis(),
).toHuman()
: job.started_at
? 'In Progress'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { BuildkiteStatus } from './components/BuildKiteRunStatus';
import { BuildkiteBuildInfo, TableProps } from '../types';

const getElapsedTime = (start: string) => {
return DateTime.fromISO(start).toRelative();
return DateTime.fromISO(start).toRelative();
};

const generatedColumns = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const getPropertyValue = (
entry: ActivityStreamEntry,
property: ActivityStreamKeys,
): string => entry[property]?._text;
const getElapsedTime = (start: string) => DateTime.fromISO(start).toRelative();;
const getElapsedTime = (start: string) => DateTime.fromISO(start).toRelative();
const decodeHtml = (html: string) => {
const txt = document.createElement('textarea');
txt.innerHTML = html;
Expand Down

0 comments on commit 653202d

Please sign in to comment.