From c02d8cc7a98b7e57796f6c4e1ca0ebdeda973505 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 31 May 2021 10:26:28 -0700 Subject: [PATCH] Fix EOF newlines after `npm version patch` The removeNPMAbsolutePaths check requires no newlines at the end of the file. This ensures that the version update mimics the behavior. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 12a821152..9dd4a7a3d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "lint": "eslint --report-unused-disable-directives --max-warnings=0 . --ext .js,.ts", "lint-fix": "eslint --report-unused-disable-directives --max-warnings=0 . --ext .js,.ts --fix", "removeNPMAbsolutePaths": "removeNPMAbsolutePaths . --force", - "version": "cd runner && npm version patch && git add ." + "version": "cd runner && npm version patch && cd .. && npm run removeNPMAbsolutePaths && git add runner" }, "ava": { "typescript": {