File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,8 @@ static void checkWhetherToRunUnderTool(int argc, char* const* argv) {
108
108
// compilations, diagnostics, etc.
109
109
codeql::TargetFile invocationTargetFile (codeql::SwiftExtractorConfiguration& configuration) {
110
110
auto timestamp = std::chrono::system_clock::now ().time_since_epoch ().count ();
111
- auto target = " invocation-" s + std::to_string (timestamp) + ' -' + std::to_string (getpid ());
111
+ auto filename = std::to_string (timestamp) + ' -' + std::to_string (getpid ());
112
+ auto target = std::filesystem::path (" invocations" ) / std::filesystem::path (filename);
112
113
auto maybeFile = codeql::createTargetTrapFile (configuration, target);
113
114
if (!maybeFile) {
114
115
std::cerr << " Cannot create invocation trap file: " << target << " \n " ;
You can’t perform that action at this time.
0 commit comments