Skip to content

Commit

Permalink
fix: adjust grid details for CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PThorpe92 committed Mar 27, 2024
1 parent edceabb commit 6ea17dd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/output/grid_details.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

use std::io::{self, Write};


use nu_ansi_term::AnsiStrings as ANSIStrings;
use ansi_width;
use grid::{Direction, Filling, Grid, GridOptions};
use term_grid as grid;


use crate::fs::feature::git::GitCache;
use crate::fs::filter::FileFilter;
use crate::fs::{Dir, File};
Expand Down Expand Up @@ -183,7 +180,7 @@ impl<'a> Render<'a> {

if self.details.header {
let row = table.header_row();
let name = TextCell::paint_str(self.theme.ui.header, "Name")
let name = TextCell::paint_str(self.theme.ui.header.unwrap_or_default(), "Name")
.strings()
.to_string();
let s = table.render(row).strings().to_string();
Expand Down

0 comments on commit 6ea17dd

Please sign in to comment.