dev: format the code on entity regeneration
This commit is contained in:
parent
18f4114f18
commit
e4c9a91a16
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ regenerate-entities:
|
|||
done
|
||||
sed -i 's/#\[derive(Debug, Clone, PartialEq, Eq, EnumIter, DeriveActiveEnum)\]/#[derive(Debug, PartialEq, Eq, EnumIter, DeriveActiveEnum)]\n#[cfg_attr(not(feature = "napi"), derive(Clone))]\n#[cfg_attr(feature = "napi", napi_derive::napi)]/' \
|
||||
src/model/entity/sea_orm_active_enums.rs
|
||||
pnpm run format
|
||||
|
||||
index.js:
|
||||
NODE_OPTIONS='--max_old_space_size=3072' pnpm run build:debug
|
||||
|
|
Loading…
Reference in a new issue