🔨 fix dev script

This commit is contained in:
platane
2020-10-15 02:12:21 +02:00
parent ee08150eff
commit 7e5dcb345d
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ import * as path from "path";
import { generateContributionSnake } from "../generateContributionSnake";
(async () => {
const output = path.join(process.cwd(), "__tests__/__snapshots__/out.gif");
const output = path.join(process.cwd(), "/__tests__/__snapshots__/out.gif");
const buffer = await generateContributionSnake("platane");

View File

@@ -11,6 +11,6 @@
},
"scripts": {
"build": "ncc build --external canvas --out dist ./index.ts ",
"dev": "ncc run __tests__/dev.ts --quiet"
"dev": "rm -f __tests__/__snapshots__/out.gif ; ncc run __tests__/dev.ts --quiet"
}
}