about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.idea/vcs.xml6
-rw-r--r--generate.go2
2 files changed, 7 insertions, 1 deletions
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/generate.go b/generate.go
index 8701e20..0059ca3 100644
--- a/generate.go
+++ b/generate.go
@@ -116,7 +116,7 @@ func main() {
 	// create a file that stores the data
 	hostname, _ := os.Hostname()
 	pid := os.Getpid()
-	f, err := os.Create(fmt.Sprintf("%s_%d.csv", hostname, pid))
+	f, err := os.Create(fmt.Sprintf("data/%s_%d.csv", hostname, pid))
 	if err != nil {
 		panic(err)
 	}