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