From 9f4aa2d39defeb221023e7fc8f38ef873dfaef63 Mon Sep 17 00:00:00 2001 From: Gary Blackwood Date: Fri, 20 Oct 2023 19:34:01 +0100 Subject: [PATCH] fix: (again) creat data/detected before copying images --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index af4612a..2176bfa 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "build": "node app/build.js", "build:prod": "cross-env NODE_ENV=production npm run build && npm run copy:data-detected", "clean": "rm -rf build", - "copy:data-detected": "cp -r ./data/detected ./build/data/detected", + "copy:data-detected": "mkdir ./build/data/detected && cp -r ./data/detected ./build/data/detected", "dev": "concurrently --kill-others \"npm run build\" \"npm run tsc:watch\" \"npm run sync\"", "format": "prettier --write app/*.js app/src/*.{tsx,html} && black .", "lint": "npm run lint:py && npm run lint:app",