Skip to content

Commit

Permalink
Merge pull request #1357 from SRetip/command_fix
Browse files Browse the repository at this point in the history
READY: `.readme.modules.headers.renew` fix
  • Loading branch information
Wandalen authored May 28, 2024
2 parents 52f7257 + 8e5e5bf commit b02d13e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions module/move/willbe/src/action/readme_modules_headers_renew.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ mod private
use wtools::error::
{
err,
for_app::{ Result, Error },
for_app::
{
Result,
Error,
Context,
},
};
use std::borrow::Cow;
use std::fs::{ OpenOptions };
Expand Down Expand Up @@ -150,7 +155,7 @@ mod private
.map( | m | m.as_str() )
.unwrap_or_default();

_ = query::parse( raw_params )?;
_ = query::parse( raw_params ).context( "Fail to parse raw params." );

let content = header_content_generate( &content, header, raw_params, cargo_metadata.workspace_root()?.to_str().unwrap() )?;

Expand Down

0 comments on commit b02d13e

Please sign in to comment.