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> {
309
309
self . trigger . add_to_linker ( core_engine_builder. linker ( ) ) ?;
310
310
311
311
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) ;
317
313
let state_dir = match options. state_dir {
318
314
// Make sure `--state-dir=""` unsets the state dir
319
315
Some ( "" ) => UserProvidedPath :: Unset ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use spin_factors_executor::{FactorsExecutorApp, FactorsInstanceBuilder};
11
11
12
12
pub use spin_app:: App ;
13
13
14
- /// Type alias for a [`FactorsConfiguredApp `] specialized to a [`Trigger`].
14
+ /// Type alias for a [`FactorsExecutorApp `] specialized to a [`Trigger`].
15
15
pub type TriggerApp < T > = FactorsExecutorApp < TriggerFactors , <T as Trigger >:: InstanceState > ;
16
16
17
17
pub type TriggerInstanceBuilder < ' a , T > =
You can’t perform that action at this time.
0 commit comments