Skip to content

Commit

Permalink
Fix duration validation (gitpod-io#19476)
Browse files Browse the repository at this point in the history
  • Loading branch information
mustard-mh authored Feb 27, 2024
1 parent 6638c5d commit e80714a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/gitpod-protocol/src/gitpod-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export namespace WorkspaceTimeoutDuration {
) {
throw new Error("Workspace inactivity timeout cannot exceed 24h");
}
return duration;
return value + unit;
}
}

Expand Down

0 comments on commit e80714a

Please sign in to comment.