mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-30 12:42:10 +08:00
refactor: add a new 'devtools' feature in clarity crate
This commit is contained in:
@@ -55,4 +55,4 @@ default = []
|
||||
developer-mode = []
|
||||
slog_json = ["stacks_common/slog_json"]
|
||||
testing = []
|
||||
|
||||
devtools = []
|
||||
|
||||
@@ -1739,7 +1739,7 @@ impl<'a, 'hooks> GlobalContext<'a, 'hooks> {
|
||||
self.roll_back()?;
|
||||
}
|
||||
Ok(Value::Response(data))
|
||||
} else if allow_private && cfg!(feature = "developer-mode") {
|
||||
} else if allow_private && cfg!(feature = "devtools") {
|
||||
self.commit()?;
|
||||
Ok(result)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user