This commit is contained in:
@@ -5,10 +5,11 @@
|
||||
|
||||
mod buildah;
|
||||
mod core;
|
||||
mod error;
|
||||
pub mod error;
|
||||
mod git;
|
||||
mod nerdctl;
|
||||
mod os;
|
||||
mod platform;
|
||||
mod postgresclient;
|
||||
mod process;
|
||||
mod redisclient;
|
||||
@@ -182,7 +183,10 @@ pub fn register(engine: &mut Engine) -> Result<(), Box<rhai::EvalAltResult>> {
|
||||
// Register PostgreSQL client module functions
|
||||
postgresclient::register_postgresclient_module(engine)?;
|
||||
|
||||
// Register utility functions
|
||||
// Register Platform module functions
|
||||
platform::register(engine);
|
||||
|
||||
// Register utility functions
|
||||
engine.register_fn("is_def_fn", |_name: &str| -> bool {
|
||||
// This is a utility function to check if a function is defined in the engine
|
||||
// For testing purposes, we'll just return true
|
||||
|
Reference in New Issue
Block a user