Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit f2aa0a0

Browse files
author
Je
committed
fix: fix getData method
1 parent fa4f26a commit f2aa0a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export default class Project {
212212
async getData() {
213213
const mod = this.#modules.get('./data.js') || this.#modules.get('./data/index.js')
214214
if (mod) {
215-
const { default: Data } = await import("file://" + "file://" + mod.jsFile)
215+
const { default: Data } = await import("file://" + mod.jsFile)
216216
let data: any = Data
217217
if (util.isFunction(Data)) {
218218
data = await Data()

0 commit comments

Comments
 (0)