Skip to content

Commit

Permalink
Fixed constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Sep 9, 2024
1 parent d71478f commit 48f6022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dirty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub struct DirtyVal {

#[napi]
impl Dirty {
//#[napi(constructor)]
#[napi(constructor)]
pub fn new(filename: String) -> napi::Result<Self> {
let file = OpenOptions::new()
.read(true)
Expand Down

0 comments on commit 48f6022

Please sign in to comment.