diff options
Diffstat (limited to 'src/main/scala/firrtl/util/BackendCompilationUtilities.scala')
| -rw-r--r-- | src/main/scala/firrtl/util/BackendCompilationUtilities.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/scala/firrtl/util/BackendCompilationUtilities.scala b/src/main/scala/firrtl/util/BackendCompilationUtilities.scala index 34be1d1e..dfa00eba 100644 --- a/src/main/scala/firrtl/util/BackendCompilationUtilities.scala +++ b/src/main/scala/firrtl/util/BackendCompilationUtilities.scala @@ -7,7 +7,6 @@ import java.nio.file.Files import java.text.SimpleDateFormat import java.util.Calendar -import firrtl.FirrtlExecutionOptions import scala.sys.process.{ProcessBuilder, ProcessLogger, _} @@ -26,7 +25,7 @@ trait BackendCompilationUtilities { * @param name the name of the resource * @param file the file to write it into */ - def copyResourceToFile(name: String, file: File) { + def copyResourceToFile(name: String, file: File): Unit = { val in = getClass.getResourceAsStream(name) if (in == null) { throw new FileNotFoundException(s"Resource '$name'") |
