diff --git a/common/config/rush/command-line.json b/common/config/rush/command-line.json index d13145e13bb..2cff77a8497 100644 --- a/common/config/rush/command-line.json +++ b/common/config/rush/command-line.json @@ -140,8 +140,8 @@ { "commandKind": "global", "name": "doformat", - "summary": "Show a formatting errors if pressent", - "description": "use to build all docker containers required for platform", + "summary": "Do a format and show errors after it", + "description": "Do a format and show errors after it", "safeForSimultaneousRushProcesses": true, "shellCommand": "rush format && ./common/scripts/format-show.sh" }, diff --git a/server-plugins/notification-resources/src/index.ts b/server-plugins/notification-resources/src/index.ts index 42b48c936ea..dea7acf68e8 100644 --- a/server-plugins/notification-resources/src/index.ts +++ b/server-plugins/notification-resources/src/index.ts @@ -990,7 +990,7 @@ export async function createCollabDocInfo ( const usersInfo = await ctx.with( 'get-user-info', {}, - async (ctx) => await getUsersInfo(ctx, [...Array.from(targets), originTx.modifiedBy as Ref], control) + (ctx) => getUsersInfo(ctx, [...Array.from(targets), originTx.modifiedBy as Ref], control) ) const sender: SenderInfo = usersInfo.get(originTx.modifiedBy) ?? { _id: originTx.modifiedBy @@ -1337,8 +1337,8 @@ async function collectionCollabDoc ( await ctx.with( 'create-collab-doc-info', {}, - async (ctx) => - await createCollabDocInfo( + (ctx) => + createCollabDocInfo( ctx, collaborators as Ref[], control,