Skip to content

Commit 139179b

Browse files
committed
lint
1 parent cab7684 commit 139179b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/Packages/Passport/Runtime/Scripts/Private/PassportImpl.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public async UniTask Init(string clientId, string environment, string redirectUr
9393
};
9494
initRequest = JsonUtility.ToJson(request);
9595
}
96-
96+
9797
string response = await communicationsManager.Call(PassportFunction.INIT, initRequest);
9898
BrowserResponse initResponse = response.OptDeserializeObject<BrowserResponse>();
9999

@@ -316,14 +316,14 @@ public async void OnDeepLinkActivated(string url)
316316
PassportLogger.Info($"{TAG} Received deeplink URL: {url}");
317317

318318
Uri uri = new Uri(url);
319-
string hostWithPort = uri.IsDefaultPort ? uri.Host : $"{uri.Host}:{uri.Port}";
320-
321-
if (hostWithPort.EndsWith("/"))
319+
string hostWithPort = uri.IsDefaultPort ? uri.Host : $"{uri.Host}:{uri.Port}";
320+
321+
if (hostWithPort.EndsWith("/"))
322322
{
323-
hostWithPort = hostWithPort.Remove(hostWithPort.Length - 1);
323+
hostWithPort = hostWithPort.Remove(hostWithPort.Length - 1);
324324
}
325-
326-
string domain = $"{uri.Scheme}://{hostWithPort}{uri.AbsolutePath}";
325+
326+
string domain = $"{uri.Scheme}://{hostWithPort}{uri.AbsolutePath}";
327327

328328
if (domain.Equals(logoutRedirectUri))
329329
{

src/Packages/Passport/Runtime/Scripts/Public/Passport.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,13 @@ private async UniTask Initialise(
189189
#endif
190190

191191
// Set up browser communication
192-
BrowserCommunicationsManager communicationsManager = new BrowserCommunicationsManager(webBrowserClient);
192+
BrowserCommunicationsManager communicationsManager = new BrowserCommunicationsManager(webBrowserClient);
193193

194194
#if UNITY_WEBGL
195195
readySignalReceived = true;
196196
#else
197-
// Mark ready when browser is initialised and game bridge file is loaded
198-
communicationsManager.OnReady += () => readySignalReceived = true;
197+
// Mark ready when browser is initialised and game bridge file is loaded
198+
communicationsManager.OnReady += () => readySignalReceived = true;
199199
#endif
200200
// Set up Passport implementation
201201
passportImpl = new PassportImpl(communicationsManager);

0 commit comments

Comments
 (0)