Skip to content

Commit a6b96cd

Browse files
committed
fmt * 2
1 parent 47d9d78 commit a6b96cd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/cubejs-backend-native/src/node_export.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ async fn handle_sql_query(
221221
session
222222
.state
223223
.set_auth_context(Some(native_auth_ctx.clone()));
224-
224+
225225
let connection_id = session.state.connection_id;
226226

227227
let execute = || async move {
@@ -274,7 +274,7 @@ async fn handle_sql_query(
274274
}),
275275
stream_methods.stream.clone(),
276276
)
277-
.await?;
277+
.await?;
278278
}
279279

280280
let mut rows = Map::new();
@@ -298,7 +298,7 @@ async fn handle_sql_query(
298298
}),
299299
stream_methods.stream.clone(),
300300
)
301-
.await?;
301+
.await?;
302302

303303
if should_pause {
304304
let permit = semaphore.acquire().await?;
@@ -310,9 +310,9 @@ async fn handle_sql_query(
310310
};
311311

312312
let result = execute().await;
313-
313+
314314
session_manager.drop_session(connection_id).await;
315-
315+
316316
result
317317
}
318318

@@ -385,7 +385,7 @@ fn exec_sql(mut cx: FunctionContext) -> JsResult<JsValue> {
385385
stream_methods,
386386
&sql_query,
387387
)
388-
.await;
388+
.await;
389389

390390
let _ = channel.try_send(move |mut cx| {
391391
let method = match Arc::try_unwrap(js_stream_end_fn) {
@@ -464,7 +464,7 @@ pub fn setup_logger(mut cx: FunctionContext) -> JsResult<JsUndefined> {
464464
Box::new(NodeBridgeLogger::new(cx.channel(), cube_logger)),
465465
log_level.to_level_filter(),
466466
)
467-
.unwrap();
467+
.unwrap();
468468

469469
Ok(cx.undefined())
470470
}

0 commit comments

Comments
 (0)