Skip to content

Commit d2da71d

Browse files
committed
Fix julia 1.6 warning syntax
1 parent 07689ba commit d2da71d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/api.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -396,14 +396,14 @@ function create_database(
396396
)
397397
### Deprecation support: remove these parameters and warnings in a future release. ###
398398
if !isempty(engine)
399-
@warn """DEPRECATED: Passing an `engine` is no longer required for creating a \
400-
database. This will be removed in a future release. Please update your call to \
401-
`create_database(ctx, name)`."""
399+
@warn "DEPRECATED: Passing an `engine` is no longer required for creating a" *
400+
" database. This will be removed in a future release. Please update your call" *
401+
" `create_database(ctx, name)`."
402402
end
403403
if overwrite == true
404-
@warn """DEPRECATED: The `overwrite` option is no longer supported for creating a \
405-
database. This will be removed in a future release. Please delete an existing \
406-
database before attempting to create it."""
404+
@warn "DEPRECATED: The `overwrite` option is no longer supported for creating a" *
405+
" database. This will be removed in a future release. Please delete an" *
406+
" existing database before attempting to create it."
407407
@assert engine !== "" "`overwrite` is not supported in the new engineless API."
408408
end
409409
if !isempty(engine) || overwrite == true

0 commit comments

Comments
 (0)