rspack
rspack copied to clipboard
[Bug]: build uses latest branch code instead of specified commit in ci/cd
Details
Related to #7757
In fact, the actual modification of trait Dependency is made in the latest main branch, not the branch where the build is located.
Compiling rspack_plugin_javascript v0.1.0 (/build/crates/rspack_plugin_javascript)
error[E0407]: method `span` is not a member of trait `Dependency`
--> crates/rspack_plugin_javascript/src/dependency/context/require_resolve_context_dependency.rs:45:3
|
45 | / fn span(&self) -> Option<ErrorSpan> {
46 | | Some(ErrorSpan::new(self.range.start, self.range.end))
47 | | }
| |___^ not a member of trait `Dependency`