testdriverai 4.2.5 → 4.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agent.js +4 -0
- package/package.json +1 -1
package/agent.js
CHANGED
|
@@ -912,6 +912,10 @@ let run = async (file, shouldSave = false, shouldExit = true) => {
|
|
|
912
912
|
// Inject environment variables into any ${VAR} strings
|
|
913
913
|
yml = parser.interpolate(yml, process.env);
|
|
914
914
|
|
|
915
|
+
// Inject any vars from the TD_INTERPOLATION_VARS variable (typically from the action)
|
|
916
|
+
yml = parser.interpolate(yml, interpolationVars);
|
|
917
|
+
|
|
918
|
+
|
|
915
919
|
let ymlObj = null;
|
|
916
920
|
try {
|
|
917
921
|
ymlObj = await yaml.load(yml);
|