Make scripts really node.js scripts
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 29 Jan 2021 12:10:01 +0000 (13:10 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 29 Jan 2021 12:10:01 +0000 (13:10 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/scripts/deleteChargingStations.js [moved from src/scripts/deleteChargingStations.ts with 97% similarity, mode: 0755]
src/scripts/setCSPublicFlag.js [moved from src/scripts/setCSPublicFlag.ts with 97% similarity, mode: 0755]

old mode 100644 (file)
new mode 100755 (executable)
similarity index 97%
rename from src/scripts/deleteChargingStations.ts
rename to src/scripts/deleteChargingStations.js
index 9a60277..b3c8d0f
@@ -1,3 +1,5 @@
+#!/usr/bin/env node
+
 import MongoClient from 'mongodb';
 import fs from 'fs';
 
old mode 100644 (file)
new mode 100755 (executable)
similarity index 97%
rename from src/scripts/setCSPublicFlag.ts
rename to src/scripts/setCSPublicFlag.js
index 846160c..79d8600
@@ -1,3 +1,5 @@
+#!/usr/bin/env node
+
 import MongoClient from 'mongodb';
 import fs from 'fs';