Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-uvarov committed Nov 30, 2024
1 parent 7f89466 commit f60dde4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions numd/commands.nu
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@ export def run [
if $intermed_script == null { rm $intermediate_script_path }

let $output_path = $result_md_path | default $file

if not $no_save {
if not $no_backup { create-file-backup $output_path }
$updated_md_ansi | ansi strip | save -f $output_path
}

if $save_ansi { $updated_md_ansi | save -f $'($output_path).ans' }

if not $no_stats {
Expand Down

0 comments on commit f60dde4

Please sign in to comment.