Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
RobMayer committed Oct 28, 2023
1 parent 2901ef0 commit 3876173
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ttpg-scripts",
"version": "1.4.3",
"version": "1.4.4",
"description": "",
"bin": {
"ttpg-scripts": "./bin/index.js"
Expand Down
2 changes: 1 addition & 1 deletion src/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const runDev = async () => {
Logger.log("Copying Thumbnail");
try {
if (await pathExists(path.resolve("./Thumbnail.png"))) {
await fs.copyFile(path.resolve("./Thumbnail.png"), path.resolve(config.local.ttpg_path, `${config.project.slug}_dev`, "Thumbnail.png"));
await fs.copyFile(path.resolve("./Thumbnail.png"), path.resolve("./dev/", `${config.project.slug}_dev`, "Thumbnail.png"));
}
Logger.success("thumbnail copied");
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/watch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const runWatch = async () => {
Logger.log("Copying Thumbnail");
try {
if (await pathExists(path.resolve("./Thumbnail.png"))) {
await fs.copyFile(path.resolve("./Thumbnail.png"), path.resolve(config.local.ttpg_path, `${config.project.slug}_dev`, "Thumbnail.png"));
await fs.copyFile(path.resolve("./Thumbnail.png"), path.resolve("./dev/", `${config.project.slug}_dev`, "Thumbnail.png"));
}
Logger.success("thumbnail copied");
} catch (e) {
Expand Down

0 comments on commit 3876173

Please sign in to comment.