Skip to content

Commit 0eeecd2

Browse files
authored
Merge pull request #41 from nicolas-chaulet/chore/file-spacing
chore(templates): fix spacing in cancelable promise
2 parents dfcac27 + 3fc5845 commit 0eeecd2

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/templates/core/CancelablePromise.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ export class CancelablePromise<T> implements Promise<T> {
8383
});
8484
}
8585

86-
get [Symbol.toStringTag]() {
87-
return "Cancellable Promise";
88-
}
86+
get [Symbol.toStringTag]() {
87+
return "Cancellable Promise";
88+
}
8989

9090
public then<TResult1 = T, TResult2 = never>(
9191
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,

test/__snapshots__/index.spec.ts.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ export class CancelablePromise<T> implements Promise<T> {
153153
});
154154
}
155155

156-
get [Symbol.toStringTag]() {
157-
return "Cancellable Promise";
158-
}
156+
get [Symbol.toStringTag]() {
157+
return "Cancellable Promise";
158+
}
159159

160160
public then<TResult1 = T, TResult2 = never>(
161161
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
@@ -3460,9 +3460,9 @@ export class CancelablePromise<T> implements Promise<T> {
34603460
});
34613461
}
34623462

3463-
get [Symbol.toStringTag]() {
3464-
return "Cancellable Promise";
3465-
}
3463+
get [Symbol.toStringTag]() {
3464+
return "Cancellable Promise";
3465+
}
34663466

34673467
public then<TResult1 = T, TResult2 = never>(
34683468
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
@@ -4206,9 +4206,9 @@ export class CancelablePromise<T> implements Promise<T> {
42064206
});
42074207
}
42084208

4209-
get [Symbol.toStringTag]() {
4210-
return "Cancellable Promise";
4211-
}
4209+
get [Symbol.toStringTag]() {
4210+
return "Cancellable Promise";
4211+
}
42124212

42134213
public then<TResult1 = T, TResult2 = never>(
42144214
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,

0 commit comments

Comments
 (0)