isGeneratedScript TODO

This commit is contained in:
Jan Prochazka
2022-03-17 19:53:51 +01:00
parent 6c8eccd369
commit 6e041e9eed
4 changed files with 7 additions and 7 deletions

View File

@@ -148,8 +148,8 @@ module.exports = {
},
start_meta: true,
async start({ script }) {
if (process.env.DISABLE_SHELL) {
async start({ script, isGeneratedScript }) {
if (!isGeneratedScript && process.env.DISABLE_SHELL) {
return { errorMessage: 'Shell is disabled' };
}