From 4f946749748ec91596ef015369d22d25be7e7762 Mon Sep 17 00:00:00 2001 From: Yuya Tanaka Date: Mon, 18 Apr 2016 16:52:27 +0900 Subject: [PATCH] Add --norc to bash args See #7 --- SwiftLintXcode/Formatter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SwiftLintXcode/Formatter.swift b/SwiftLintXcode/Formatter.swift index 1216614..1246911 100644 --- a/SwiftLintXcode/Formatter.swift +++ b/SwiftLintXcode/Formatter.swift @@ -96,7 +96,7 @@ final class Formatter { let task = NSTask() task.launchPath = "/bin/bash" task.arguments = [ - "-l", "-c", "which \(name)" + "--norc", "-l", "-c", "which \(name)" ] task.currentDirectoryPath = workingDirectory task.standardOutput = pipe