File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ export class AtomicServer {
149149 . withMountedDirectory ( '/docs' , actualDocsDirectory )
150150 . withWorkdir ( '/docs' )
151151 . withExec ( [ 'mdbook' , 'build' ] )
152- . directory ( '/docs/build/html ' ) ;
152+ . directory ( '/docs/build' ) ;
153153 }
154154
155155 @func ( )
Original file line number Diff line number Diff line change @@ -504,11 +504,13 @@ impl Commit {
504504 ) ;
505505 }
506506 if let Some ( y_update) = & self . y_update {
507- let mut newy_update = PropVals :: new ( ) ;
508- for ( prop, val) in y_update {
509- newy_update. insert ( prop. into ( ) , val. clone ( ) ) ;
507+ if !y_update. is_empty ( ) {
508+ let mut newy_update = PropVals :: new ( ) ;
509+ for ( prop, val) in y_update {
510+ newy_update. insert ( prop. into ( ) , val. clone ( ) ) ;
511+ }
512+ resource. set_unsafe ( urls:: Y_UPDATE . into ( ) , newy_update. into ( ) ) ;
510513 }
511- resource. set_unsafe ( urls:: Y_UPDATE . into ( ) , newy_update. into ( ) ) ;
512514 }
513515 resource. set_unsafe (
514516 SIGNER . into ( ) ,
You can’t perform that action at this time.
0 commit comments