From 70a722416018e630a7d196798880dacbca822f7b Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sun, 15 Jan 2023 12:41:15 +0100 Subject: [PATCH] add git pull --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d5358c4..8c77dfb 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build": "tsc", "lint": "tslint --project ./tsconfig.json -t stylish", "start": "ts-node src/index.ts", - "daily": "ts-node src/index.ts 2>&1 | tee -a log_`date --iso-8601`.txt", + "daily": "git pull && ts-node src/index.ts 2>&1 | tee -a log_`date --iso-8601`.txt", "test": "doctest-ts-improved src/ && mocha --require ts-node/register \"./**/*.doctest.ts\" && (find . -type f -name \"*.doctest.ts\" | xargs rm)" }, "dependencies": {