summaryrefslogtreecommitdiff
path: root/cli/test_runner.rs
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2020-09-14 18:48:57 +0200
committerBert Belder <bertbelder@gmail.com>2020-09-15 01:50:52 +0200
commitf5b40c918c7d602827622d167728a3e7bae87d9d (patch)
treefb51722e043f4d6bce64a2c7e897cce4ead06c82 /cli/test_runner.rs
parent3da20d19a14ab6838897d281f1b11e49d68bd1a7 (diff)
refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476)
Diffstat (limited to 'cli/test_runner.rs')
-rw-r--r--cli/test_runner.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/test_runner.rs b/cli/test_runner.rs
index cb8f7b271..8f077652b 100644
--- a/cli/test_runner.rs
+++ b/cli/test_runner.rs
@@ -2,7 +2,7 @@
use crate::fs as deno_fs;
use crate::installer::is_remote_url;
-use deno_core::ErrBox;
+use deno_core::error::AnyError;
use std::path::Path;
use std::path::PathBuf;
use url::Url;
@@ -34,7 +34,7 @@ fn is_supported(p: &Path) -> bool {
pub fn prepare_test_modules_urls(
include: Vec<String>,
root_path: &PathBuf,
-) -> Result<Vec<Url>, ErrBox> {
+) -> Result<Vec<Url>, AnyError> {
let (include_paths, include_urls): (Vec<String>, Vec<String>) =
include.into_iter().partition(|n| !is_remote_url(n));