summary refs log tree commit diff stats
path: root/tools/atlas/osutils.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tools/atlas/osutils.nim')
-rw-r--r--tools/atlas/osutils.nim8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/atlas/osutils.nim b/tools/atlas/osutils.nim
index 31392b113..1bb414c03 100644
--- a/tools/atlas/osutils.nim
+++ b/tools/atlas/osutils.nim
@@ -3,14 +3,6 @@
 
 import os, strutils, osproc
 
-template withDir*(dir, body) =
-  let oldDir = getCurrentDir()
-  try:
-    setCurrentDir(dir)
-    body
-  finally:
-    setCurrentDir(oldDir)
-
 proc isUrl*(x: string): bool =
   x.startsWith("git://") or x.startsWith("https://") or x.startsWith("http://")