summaryrefslogtreecommitdiff
path: root/cli/op_fetch_asset.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-10-28 11:52:20 +1100
committerGitHub <noreply@github.com>2020-10-28 11:52:20 +1100
commit6844caa9a552e3f8fd1f2139bdffdd090d48fe9a (patch)
tree5bed5cc8879e8169780d7c4c47ecf1cd3afd53bc /cli/op_fetch_asset.rs
parentdd01f206da0b7e1b305e70cdd3c98bf60fbefc5d (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.rs2
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)))