From: Jérôme Benoit Date: Fri, 29 Jan 2021 12:10:01 +0000 (+0100) Subject: Make scripts really node.js scripts X-Git-Tag: v1.0.1-0~105^2~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5c38ecb0d06e1ed5811ed29ffa8736df4cfcdf7c;p=e-mobility-charging-stations-simulator.git Make scripts really node.js scripts Signed-off-by: Jérôme Benoit --- diff --git a/src/scripts/deleteChargingStations.ts b/src/scripts/deleteChargingStations.js old mode 100644 new mode 100755 similarity index 97% rename from src/scripts/deleteChargingStations.ts rename to src/scripts/deleteChargingStations.js index 9a60277d..b3c8d0f3 --- a/src/scripts/deleteChargingStations.ts +++ b/src/scripts/deleteChargingStations.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + import MongoClient from 'mongodb'; import fs from 'fs'; diff --git a/src/scripts/setCSPublicFlag.ts b/src/scripts/setCSPublicFlag.js old mode 100644 new mode 100755 similarity index 97% rename from src/scripts/setCSPublicFlag.ts rename to src/scripts/setCSPublicFlag.js index 846160c8..79d8600d --- a/src/scripts/setCSPublicFlag.ts +++ b/src/scripts/setCSPublicFlag.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + import MongoClient from 'mongodb'; import fs from 'fs';