aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-09 10:42:06 +0200
committerChocobozzz <me@florianbigard.com>2023-05-09 10:43:35 +0200
commit8d5ffb016934b5d5a12ed251d212c38aa4578a0f (patch)
treef1553c529a31547c59b3b43b280a8dfccf0ba77f
parent9aff314023ed0a9d74b6d5afd2a02a43a100fc8e (diff)
downloadPeerTube-8d5ffb016934b5d5a12ed251d212c38aa4578a0f.tar.gz
PeerTube-8d5ffb016934b5d5a12ed251d212c38aa4578a0f.tar.zst
PeerTube-8d5ffb016934b5d5a12ed251d212c38aa4578a0f.zip
Add node shebang
-rw-r--r--packages/peertube-runner/package.json2
-rw-r--r--packages/peertube-runner/peertube-runner.ts2
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/peertube-runner/package.json b/packages/peertube-runner/package.json
index 7901a1e3e..f04d0b64f 100644
--- a/packages/peertube-runner/package.json
+++ b/packages/peertube-runner/package.json
@@ -1,6 +1,6 @@
1{ 1{
2 "name": "@peertube/peertube-runner", 2 "name": "@peertube/peertube-runner",
3 "version": "0.0.1", 3 "version": "0.0.2",
4 "main": "dist/peertube-runner.js", 4 "main": "dist/peertube-runner.js",
5 "bin": "dist/peertube-runner.js", 5 "bin": "dist/peertube-runner.js",
6 "license": "AGPL-3.0", 6 "license": "AGPL-3.0",
diff --git a/packages/peertube-runner/peertube-runner.ts b/packages/peertube-runner/peertube-runner.ts
index f02526ef9..ddad84f1f 100644
--- a/packages/peertube-runner/peertube-runner.ts
+++ b/packages/peertube-runner/peertube-runner.ts
@@ -1,3 +1,5 @@
1#!/usr/bin/env node
2
1import { Command, InvalidArgumentError } from '@commander-js/extra-typings' 3import { Command, InvalidArgumentError } from '@commander-js/extra-typings'
2import { listRegistered, registerRunner, unregisterRunner } from './register' 4import { listRegistered, registerRunner, unregisterRunner } from './register'
3import { RunnerServer } from './server' 5import { RunnerServer } from './server'