🔨 fix dev script
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user