diff --git a/src/isolate.rs b/src/isolate.rs index 71a633abd3..b4cb138ffa 100644 --- a/src/isolate.rs +++ b/src/isolate.rs @@ -52,7 +52,7 @@ impl Isolate { } pub fn execute( - &mut self, + &self, js_filename: &str, js_source: &str, ) -> Result<(), DenoException> {