Skip to content

Commit

Permalink
chore: fix build error when compiling without d1 feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelFreeze committed Oct 9, 2023
1 parent 473d59f commit 9e703fa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 358 deletions.
41 changes: 0 additions & 41 deletions lib/worker/src/d1/macros.rs

This file was deleted.

317 changes: 0 additions & 317 deletions lib/worker/src/d1/mod.rs

This file was deleted.

1 change: 1 addition & 0 deletions lib/worker/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ pub enum WorkerError {
InvalidMessageBatch,

#[error(transparent)]
#[cfg(feature = "d1")]
D1Error(#[from] betterworker_d1::error::DatabaseError),
}

Expand Down

0 comments on commit 9e703fa

Please sign in to comment.