Skip to content

Commit 8144b30

Browse files
committed
dotnet format
1 parent 17b8d6c commit 8144b30

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/NRedisStack/ResponseParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ public static IEnumerable<HashSet<string>> ToHashSets(this RedisResult result)
606606
if (res.All(x => x.Resp2Type != ResultType.Array))
607607
{
608608
var keys = res.Select(x => x.ToString());
609-
sets.Add([..keys]);
609+
sets.Add([.. keys]);
610610
return sets;
611611
}
612612

src/NRedisStack/TimeSeries/TimeSeriesCommandsAsync.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public async Task<TimeStamp> IncrByAsync(string key, double value, TimeStamp? ti
6767
labels, uncompressed, chunkSizeBytes))).ToTimeStamp();
6868
}
6969

70-
70+
7171
[Obsolete("Please use the other method with TsIncrByParams and check related builder TsIncryByParamsBuilder to build parameters.")]
7272
public async Task<TimeStamp> IncrByAsync(string key, TsIncrByParams parameters) => (await _db.ExecuteAsync(TimeSeriesCommandsBuilder.IncrBy(key, parameters))).ToTimeStamp();
7373

@@ -82,7 +82,7 @@ public async Task<TimeStamp> DecrByAsync(string key, double value, TimeStamp? ti
8282
key, value, timestamp, retentionTime,
8383
labels, uncompressed, chunkSizeBytes))).ToTimeStamp();
8484
}
85-
85+
8686
[Obsolete("Please use the other method with TsDecrByParams and check related builder TsDecryByParamsBuilder to build parameters.")]
8787
public async Task<TimeStamp> DecrByAsync(string key, TsDecrByParams parameters) => (await _db.ExecuteAsync(TimeSeriesCommandsBuilder.DecrBy(key, parameters))).ToTimeStamp();
8888

0 commit comments

Comments
 (0)