fix: bind adapt to class
Signed-off-by: Pascal Vorwerk <info@fossores.de>
This commit is contained in:
1
index.ts
1
index.ts
@@ -115,6 +115,7 @@ class CloudflareAdapter implements Adapter {
|
||||
private options: AdapterOptions;
|
||||
constructor(options: AdapterOptions) {
|
||||
this.options = options;
|
||||
this.adapt = this.adapt.bind(this);
|
||||
}
|
||||
async adapt(builder: Builder) {
|
||||
const files = fileURLToPath(new URL("./files", import.meta.url).href);
|
||||
|
||||
Reference in New Issue
Block a user