We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cargo install
1 parent e0a2161 commit 33bbad5Copy full SHA for 33bbad5
src/schemagen_cli.rs
@@ -468,7 +468,7 @@ pub fn print_script(args: &Args) {
468
set -eu\n\
469
echo 'CREATE SCHEMA '{}';' > {}-schema-create.sql\n",
470
env!("CARGO_PKG_VERSION"),
471
- &env!("VERGEN_SHA")[..9],
+ env!("VERGEN_SHA").get(..9).unwrap_or("unofficial release"),
472
HEXLOWER_PERMISSIVE.encode(&meta_seed),
473
quoted_schema_name,
474
schema_name.unique_name(),
0 commit comments