committed by
GitHub
parent
fdf03f6548
commit
c166d51fb8
@@ -360,9 +360,11 @@ fn run() -> Result<()> {
|
||||
|
||||
if let Some(commands) = config.commands() {
|
||||
for (name, command) in commands {
|
||||
runner.execute(Step::CustomCommands, name, || {
|
||||
generic::run_custom_command(name, command, &ctx)
|
||||
})?;
|
||||
if config.should_run_custom_command(name) {
|
||||
runner.execute(Step::CustomCommands, name, || {
|
||||
generic::run_custom_command(name, command, &ctx)
|
||||
})?;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user