From 6cedc7c9293d308e308e76f288f5acf40e917082 Mon Sep 17 00:00:00 2001 From: Sam Greening <2552620+SG60@users.noreply.github.com> Date: Mon, 8 Jul 2024 11:11:22 +0100 Subject: [PATCH] fix(sanity-plugin-datetime): avoid errors when dist directory does not exist --- packages/sanity-plugin-datetime/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sanity-plugin-datetime/package.json b/packages/sanity-plugin-datetime/package.json index 09f3249b..a2a7cb69 100644 --- a/packages/sanity-plugin-datetime/package.json +++ b/packages/sanity-plugin-datetime/package.json @@ -30,7 +30,7 @@ ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "rm -r dist && tsc", + "build": "rm -rf dist && tsc", "watch": "tsc --watch" }, "dependencies": {