Skip to content

Commit

Permalink
fixup! refactor: use Date.now()
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklasl committed Nov 29, 2024
1 parent 4b7ff60 commit aa4741f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/sdk/src/FlagResolverClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ import { SimpleFetch } from './types';
const FLAG_PREFIX = 'flags/';

export class ResolveError extends Error {
constructor(
public readonly code: FlagEvaluation.ErrorCode,
message: string,
) {
constructor(public readonly code: FlagEvaluation.ErrorCode, message: string) {
super(message);
}
}
Expand Down

0 comments on commit aa4741f

Please sign in to comment.