Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
bartwesselink committed Jan 16, 2023
1 parent 206195a commit fb5385f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ios/Plugin/Plugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ public class MsAuthPlugin: CAPPlugin {
do {
let authority = authorityType == .aad
? try MSALAADAuthority(url: authorityURL) : try MSALB2CAuthority(url: authorityURL)
if (domainHint != nil) {

if domainHint != nil {
print("Warning: domain hint is currently not supported on iOS.")
}

let msalConfiguration = MSALPublicClientApplicationConfig(clientId: clientId, redirectUri: nil, authority: authority)
msalConfiguration.knownAuthorities = [authority]
return try MSALPublicClientApplication(configuration: msalConfiguration)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
"verify:android": "cd android && ./gradlew clean build test && cd ..",
"verify:web": "npm run build",
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --autocorrect --format",
"eslint": "eslint src/. --ext ts",
"prettier": "prettier \"{src/*.ts,**/*.java}\"",
"swiftlint": "node-swiftlint",
"build": "npm run clean && tsc && rollup -c rollup.config.js",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"prepublishOnly": "npm run fmt && npm run build",
"prepublishOnly": "npm run fmt && npm run lint && npm run build",
"precommit": "npm run fmt && npm run lint && npm run build"
},
"devDependencies": {
Expand Down

0 comments on commit fb5385f

Please sign in to comment.