From 7023241aaf5c533d0be9d70b49ad40c185b492b7 Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 16 Aug 2019 14:37:52 +0200 Subject: fixes #11819 --- compiler/docgen.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/docgen.nim') diff --git a/compiler/docgen.nim b/compiler/docgen.nim index e214ece4a..3e2e5eac6 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -406,6 +406,7 @@ proc runAllExamples(d: PDoc) = elif isDefined(d.conf, "objc"): "objc" else: "c" if os.execShellCmd(os.getAppFilename() & " " & backend & + " --warning[UnusedImport]:off" & " --path:" & quoteShell(d.conf.projectPath) & " --nimcache:" & quoteShell(outputDir) & " -r " & quoteShell(outp)) != 0: -- cgit 1.4.1-2-gfad0