From 01d4dbebf75e57a7a3d1d07b656e97b2fc23ec92 Mon Sep 17 00:00:00 2001 From: Doug Parker Date: Sat, 23 May 2020 17:58:52 -0700 Subject: [PATCH] Corrects shebang of `bxpb-protoc-plugin`. Refs #1. CI appears to be failing, due to a missing `packages/bxpb-protoc-plugin/bin/bxpb-protoc-plugin` file. This is weird to me as the file is directly checked in to source. https://github.com/dgp1130/bxpb/runs/702931728 The symlink appears to work as expected after passing through a wrapper shell script from https://github.com/lerna/lerna/pull/2059, and that script works correctly when used locally. While doing some investigation, I noticed an NPM best practice of using `#!/usr/bin/env node` for the shebang line. I'm hoping GitHub actions just has the Node binary in a different location and printed a very bad error message. Only one way to find out! --- packages/bxpb-protoc-plugin/src/bxpb-protoc-plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bxpb-protoc-plugin/src/bxpb-protoc-plugin.ts b/packages/bxpb-protoc-plugin/src/bxpb-protoc-plugin.ts index 966d188..77f4632 100644 --- a/packages/bxpb-protoc-plugin/src/bxpb-protoc-plugin.ts +++ b/packages/bxpb-protoc-plugin/src/bxpb-protoc-plugin.ts @@ -1,4 +1,4 @@ -#!/usr/bin/node +#!/usr/bin/env node import { execute } from './plugin';