Skip to content

Commit 648cad1

Browse files
fix: wrap if-return with block statement to satisfy useBlockStatements lint rule
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5b365f8 commit 648cad1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/series.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ export class Series<T extends Scalar = Scalar> {
764764
const hit = ascending
765765
? (naLast ? this._svCacheAL : this._svCacheAF)
766766
: (naLast ? this._svCacheDL : this._svCacheDF);
767-
if (hit !== null) return hit;
767+
if (hit !== null) { return hit; }
768768

769769
const n = this._values.length;
770770
const vals = this._values;

0 commit comments

Comments
 (0)