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

Commit

Permalink
fix: don't use dist/metadata.json in creation (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
theusaf authored Sep 25, 2022
1 parent 5073da0 commit a9f4ecf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bin/actions/create.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pmd",
"description": "CLI for creating, modifying & translating Presences.",
"version": "1.0.2",
"version": "1.0.3",
"author": "Timeraa <[email protected]>",
"main": "src/index.ts",
"license": "MPL-2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/actions/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ metadata.category = res.category;
metadata.version = "1.0.0";

await writeFile(
resolve(presencePath, "dist/metadata.json"),
resolve(presencePath, "metadata.json"),
JSON.stringify(metadata, null, 2)
);

Expand Down

0 comments on commit a9f4ecf

Please sign in to comment.