fnm 1.22.9

Fast and simple Node.js version manager
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::expression::Expression;
use super::shell::Shell;
use std::fmt::Write;

/// For debugging purposes
#[derive(Debug)]
pub(crate) struct Raw(pub String);

impl<S: Shell> Expression<S> for Raw {
    fn write_shell(&self, writer: &mut impl Write) -> std::fmt::Result {
        write!(writer, "{}", self.0)
    }
}