Skip to content

Commit d96bad1

Browse files
committed
WIP
1 parent ebd7912 commit d96bad1

File tree

1 file changed

+2
-7
lines changed
  • crates/turborepo-lib/src/task_graph/visitor

1 file changed

+2
-7
lines changed

crates/turborepo-lib/src/task_graph/visitor/mod.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ mod command;
22
mod error;
33
mod exec;
44
mod output;
5-
65
use std::{
76
borrow::Cow,
87
collections::HashSet,
@@ -23,10 +22,7 @@ use tracing::{debug, error, warn, Span};
2322
use turbopath::{AbsoluteSystemPath, AnchoredSystemPath};
2423
use turborepo_ci::{Vendor, VendorBehavior};
2524
use turborepo_env::{platform::PlatformEnv, EnvironmentVariableMap};
26-
use turborepo_repository::{
27-
package_graph::{PackageGraph, PackageName, ROOT_PKG_NAME},
28-
package_manager::PackageManager,
29-
};
25+
use turborepo_repository::package_graph::{PackageGraph, PackageName, ROOT_PKG_NAME};
3026
use turborepo_telemetry::events::{
3127
generic::GenericEventBuilder, task::PackageTaskEventBuilder, EventBuilder, TrackedErrors,
3228
};
@@ -82,9 +78,8 @@ pub enum Error {
8278
#[error(
8379
"Your `package.json` script looks like it invokes a Root Task ({task_name}), creating a \
8480
loop of `turbo` invocations. You likely have misconfigured the strategy for your scripts \
85-
and tasks or your package manager's Workspace structure."
81+
and tasks or your package manager's Workspace structure.\n\nMore information: https://test.com"
8682
)]
87-
#[help("https://TODO.com")]
8883
RecursiveTurbo {
8984
task_name: String,
9085
command: String,

0 commit comments

Comments
 (0)