Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
fix(eyes-common): add BATCH_NOTIFY env var to set notifyOnCompletio…
Browse files Browse the repository at this point in the history
…n value
  • Loading branch information
astappiev committed Sep 17, 2019
1 parent bcffb40 commit 40f0bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eyes-common/lib/config/BatchInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class BatchInfo {
this._name = name || GeneralUtils.getEnvValue('BATCH_NAME');
this._startedAt = startedAt || new Date();
this._sequenceName = sequenceName || GeneralUtils.getEnvValue('BATCH_SEQUENCE');
this._notifyOnCompletion = notifyOnCompletion || false;
this._notifyOnCompletion = notifyOnCompletion || GeneralUtils.getEnvValue('BATCH_NOTIFY') || false;
}

/**
Expand Down

0 comments on commit 40f0bae

Please sign in to comment.