File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -309,11 +309,7 @@ impl<T: Trigger> TriggerAppBuilder<T> {
309309 self . trigger . add_to_linker ( core_engine_builder. linker ( ) ) ?;
310310
311311 let runtime_config_path = options. runtime_config_file ;
312- let local_app_dir = options
313- . local_app_dir
314- . map ( std:: path:: absolute)
315- . transpose ( )
316- . context ( "failed to resolve local app directory path to an absolute path" ) ?;
312+ let local_app_dir = options. local_app_dir . map ( PathBuf :: from) ;
317313 let state_dir = match options. state_dir {
318314 // Make sure `--state-dir=""` unsets the state dir
319315 Some ( "" ) => UserProvidedPath :: Unset ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use spin_factors_executor::{FactorsExecutorApp, FactorsInstanceBuilder};
1111
1212pub use spin_app:: App ;
1313
14- /// Type alias for a [`FactorsConfiguredApp `] specialized to a [`Trigger`].
14+ /// Type alias for a [`FactorsExecutorApp `] specialized to a [`Trigger`].
1515pub type TriggerApp < T > = FactorsExecutorApp < TriggerFactors , <T as Trigger >:: InstanceState > ;
1616
1717pub type TriggerInstanceBuilder < ' a , T > =
You can’t perform that action at this time.
0 commit comments