@siftd/connect-agent 0.2.45 → 0.2.46
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/dist/orchestrator.js +2 -1
- package/package.json +1 -1
package/dist/orchestrator.js
CHANGED
|
@@ -751,8 +751,9 @@ export class MasterOrchestrator {
|
|
|
751
751
|
const teamDir = this.getTeamFilesDir();
|
|
752
752
|
if (!teamDir)
|
|
753
753
|
return {};
|
|
754
|
+
const hasTeamDir = existsSync(teamDir);
|
|
754
755
|
return {
|
|
755
|
-
workingDir: this.forceTeamWorkingDir ? teamDir : undefined,
|
|
756
|
+
workingDir: this.forceTeamWorkingDir && hasTeamDir ? teamDir : undefined,
|
|
756
757
|
instructions: `TEAM FILES DIRECTORY: ${teamDir}\nSave any requested files under this directory so they appear in /files (Team Files). Create the directory if needed.`,
|
|
757
758
|
};
|
|
758
759
|
}
|