diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-10-28 11:52:20 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-28 11:52:20 +1100 |
commit | 6844caa9a552e3f8fd1f2139bdffdd090d48fe9a (patch) | |
tree | 5bed5cc8879e8169780d7c4c47ecf1cd3afd53bc /cli/op_fetch_asset.rs | |
parent | dd01f206da0b7e1b305e70cdd3c98bf60fbefc5d (diff) |
fix(cli): restore tripleslash lib refs support (#8157)
Fixes #8147
Diffstat (limited to 'cli/op_fetch_asset.rs')
-rw-r--r-- | cli/op_fetch_asset.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/op_fetch_asset.rs b/cli/op_fetch_asset.rs index 4ed77d423..3ff8b782f 100644 --- a/cli/op_fetch_asset.rs +++ b/cli/op_fetch_asset.rs @@ -10,7 +10,7 @@ use std::collections::HashMap; use std::path::PathBuf; use std::rc::Rc; -fn get_asset(name: &str) -> Option<&'static str> { +pub fn get_asset(name: &str) -> Option<&'static str> { macro_rules! inc { ($e:expr) => { Some(include_str!(concat!("dts/", $e))) |