Skip to content

Commit 2872101

Browse files
author
Dasmer Singh
committed
Convert SwiftLint Wrrors to Warnings instead
1 parent 3c57776 commit 2872101

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SentrySwift.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@
11141114
);
11151115
runOnlyForDeploymentPostprocessing = 0;
11161116
shellPath = /bin/sh;
1117-
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"error: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nexit 1\nfi";
1117+
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
11181118
};
11191119
63CDABD81DE2E8D200B63921 /* ShellScript */ = {
11201120
isa = PBXShellScriptBuildPhase;
@@ -1127,7 +1127,7 @@
11271127
);
11281128
runOnlyForDeploymentPostprocessing = 0;
11291129
shellPath = /bin/sh;
1130-
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"error: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
1130+
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
11311131
};
11321132
63CDABDF1DE2E8DB00B63921 /* ShellScript */ = {
11331133
isa = PBXShellScriptBuildPhase;
@@ -1140,7 +1140,7 @@
11401140
);
11411141
runOnlyForDeploymentPostprocessing = 0;
11421142
shellPath = /bin/sh;
1143-
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"error: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
1143+
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
11441144
};
11451145
63CDABE01DE2E8E200B63921 /* ShellScript */ = {
11461146
isa = PBXShellScriptBuildPhase;
@@ -1153,7 +1153,7 @@
11531153
);
11541154
runOnlyForDeploymentPostprocessing = 0;
11551155
shellPath = /bin/sh;
1156-
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"error: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
1156+
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
11571157
};
11581158
/* End PBXShellScriptBuildPhase section */
11591159

0 commit comments

Comments
 (0)