Compare commits

...

1 Commits

Author SHA1 Message Date
David Blass 5ea1d95b70 debug dir structure 2025-11-06 20:38:20 -05:00
3 changed files with 1291 additions and 1136 deletions
+1286 -1132
View File
File diff suppressed because it is too large Load Diff
+4 -3
View File
@@ -7,6 +7,7 @@
import { readdir } from "node:fs/promises"; import { readdir } from "node:fs/promises";
import { join } from "node:path"; import { join } from "node:path";
import * as core from "@actions/core"; import * as core from "@actions/core";
import { dirName } from "@ark/fs";
import { type Inputs, main } from "./main.ts"; import { type Inputs, main } from "./main.ts";
import { createMcpServer } from "./mcp/server.ts"; import { createMcpServer } from "./mcp/server.ts";
import { log } from "./utils/cli.ts"; import { log } from "./utils/cli.ts";
@@ -38,10 +39,10 @@ async function printDirectoryTree(dir: string, prefix = "", rootDir = dir): Prom
async function run(): Promise<void> { async function run(): Promise<void> {
// Debug: Print current directory tree before changing directories // Debug: Print current directory tree before changing directories
const cwd = process.cwd(); const actionDir = dirName();
log.info(`Current working directory: ${cwd}`); log.info(`action dir: ${actionDir}`);
try { try {
const tree = await printDirectoryTree(cwd); const tree = await printDirectoryTree(actionDir);
log.info(`Directory tree:\n${tree}`); log.info(`Directory tree:\n${tree}`);
} catch (error) { } catch (error) {
log.warning( log.warning(
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@pullfrog/action", "name": "@pullfrog/action",
"version": "0.0.83", "version": "0.0.84",
"type": "module", "type": "module",
"files": [ "files": [
"index.js", "index.js",