Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Aug 29, 2024
1 parent 5d0b130 commit 3653719
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/actions/require-empty-diff/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ runs:
shell: bash
run: |
if [[ -n "$(git status --porcelain)" ]]; then
pwd
git status -u
git --no-pager diff
exit 1
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/scripts/generate-test-tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { fileURLToPath } from "node:url";
import path from "node:path/posix";

const configPath = fileURLToPath(import.meta.url);
console.log("import.meta.url", import.meta.url);
console.log("configPath", configPath);

// This config is used only for tests.
// Aside from avoiding `mud.config.ts` in cli package (could cause issues),
Expand Down
1 change: 0 additions & 1 deletion packages/common/src/codegen/utils/formatAndWrite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export async function formatAndWriteSolidity(output: string, fullOutputPath: str
const formattedOutput = await formatSolidity(output);

await fs.mkdir(path.dirname(fullOutputPath), { recursive: true });

await fs.writeFile(fullOutputPath, formattedOutput);
debug(`${logPrefix}: ${fullOutputPath}`);
}
Expand Down
1 change: 1 addition & 0 deletions packages/store/ts/codegen/tablegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type TablegenOptions = {
};

export async function tablegen({ rootDir, config }: TablegenOptions) {
console.log("tablegen rootDir", rootDir);
const userTypes = getUserTypes({ config });

// Write enums to user types file
Expand Down

0 comments on commit 3653719

Please sign in to comment.