mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
Added github actions logging
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var config = undefined;
|
var config = undefined;
|
||||||
|
|
||||||
|
console.log(process.env.npm_lifecycle_script)
|
||||||
|
|
||||||
// Check to see if launched in test mode
|
// Check to see if launched in test mode
|
||||||
if (process.env.npm_lifecycle_script === 'node test.js') {
|
if (process.env.npm_lifecycle_script === 'node test.js') {
|
||||||
config = JSON.parse(fs.readFileSync('test.json'));
|
config = JSON.parse(fs.readFileSync('test.json'));
|
||||||
|
|||||||
Reference in New Issue
Block a user