Skip to content

Commit 70dae1a

Browse files
committed
Moving binding temp file storage out of logs directory and into temp dir
1 parent 77fd867 commit 70dae1a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/WebJobs.Script/Description/ScriptFunctionInvoker.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ internal async Task ExecuteScriptAsync(string path, string arguments, object[] i
129129

130130
string invocationId = functionExecutionContext.InvocationId.ToString();
131131
string workingDirectory = Path.GetDirectoryName(_scriptFilePath);
132-
string rootOutputPath = Path.Combine(_config.RootLogPath, "Binding");
133-
string functionInstanceOutputPath = Path.Combine(rootOutputPath, invocationId);
132+
string functionInstanceOutputPath = Path.Combine(Path.GetTempPath(), "Functions", "Binding", invocationId);
134133

135134
Dictionary<string, string> environmentVariables = new Dictionary<string, string>();
136135
InitializeEnvironmentVariables(environmentVariables, functionInstanceOutputPath, input, _outputBindings, functionExecutionContext);

0 commit comments

Comments
 (0)