Skip to content

Commit

Permalink
minor indentation tweak for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonatwork committed Jun 7, 2020
1 parent 4beb774 commit cc1414c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Actions/Delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ export class ActionDelete {
})
: Promise.resolve(true)
)
.then(() => {
return activeTextEditor.edit((editBuilder) => {
.then(() =>
activeTextEditor.edit((editBuilder) => {
ranges.forEach((range) => editBuilder.delete(range));
});
})
}),
)
.then(() => ActionSelection.shrinkToStarts())
.then(() => ActionReveal.primaryCursor());
});
Expand Down
8 changes: 4 additions & 4 deletions src/Actions/Register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ export class ActionRegister {
}, Promise.resolve(start));
return new Range(start, end);
});
return Promise.all(promisedRanges).then((ranges) => {
return ActionRegister.yankRanges({
return Promise.all(promisedRanges).then((ranges) =>
ActionRegister.yankRanges({
ranges: ranges,
isLinewise: isLinewise,
});
});
}),
);
}

static async yankByTextObject(args: { textObject: TextObject }): Promise<boolean> {
Expand Down

0 comments on commit cc1414c

Please sign in to comment.