Skip to content

Commit

Permalink
fix: remove trailing underscore
Browse files Browse the repository at this point in the history
Co-authored-by: Lubos <[email protected]>
  • Loading branch information
jordanshatford and mrlubos committed Mar 29, 2024
1 parent 8ca0143 commit 628b3bf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/templates/core/CancelablePromise.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class CancelablePromise<T> implements Promise<T> {
if (this._isResolved || this._isRejected || this._isCancelled) {
return;
}
this._isCancelled_ = true;
this._isCancelled = true;
if (this.cancelHandlers.length) {
try {
for (const cancelHandler of this.cancelHandlers) {
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/v2/core/CancelablePromise.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class CancelablePromise<T> implements Promise<T> {
if (this._isResolved || this._isRejected || this._isCancelled) {
return;
}
this._isCancelled_ = true;
this._isCancelled = true;
if (this.cancelHandlers.length) {
try {
for (const cancelHandler of this.cancelHandlers) {
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/v3/core/CancelablePromise.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class CancelablePromise<T> implements Promise<T> {
if (this._isResolved || this._isRejected || this._isCancelled) {
return;
}
this._isCancelled_ = true;
this._isCancelled = true;
if (this.cancelHandlers.length) {
try {
for (const cancelHandler of this.cancelHandlers) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class CancelablePromise<T> implements Promise<T> {
if (this._isResolved || this._isRejected || this._isCancelled) {
return;
}
this._isCancelled_ = true;
this._isCancelled = true;
if (this.cancelHandlers.length) {
try {
for (const cancelHandler of this.cancelHandlers) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class CancelablePromise<T> implements Promise<T> {
if (this._isResolved || this._isRejected || this._isCancelled) {
return;
}
this._isCancelled_ = true;
this._isCancelled = true;
if (this.cancelHandlers.length) {
try {
for (const cancelHandler of this.cancelHandlers) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class CancelablePromise<T> implements Promise<T> {
if (this._isResolved || this._isRejected || this._isCancelled) {
return;
}
this._isCancelled_ = true;
this._isCancelled = true;
if (this.cancelHandlers.length) {
try {
for (const cancelHandler of this.cancelHandlers) {
Expand Down

0 comments on commit 628b3bf

Please sign in to comment.