Skip to content

Commit 5294aa0

Browse files
committed
fix: update pkgDir resolution
1 parent 4a871e0 commit 5294aa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export async function applyActionFromFile(path: string, workingDir: string) {
103103
export async function loadActionFromFile(path: string) {
104104
const _path = resolve(path);
105105
const actionDir = dirname(_path);
106-
const _pkgDir = fileURLToPath(new URL("../..", import.meta.url));
106+
const _pkgDir = fileURLToPath(new URL("..", import.meta.url));
107107
const jiti = createJiti(actionDir, {
108108
interopDefault: true,
109109
alias: {

0 commit comments

Comments
 (0)