Skip to content

Commit

Permalink
chore: Format text
Browse files Browse the repository at this point in the history
  • Loading branch information
sethlu committed Sep 26, 2019
1 parent 92c0086 commit 0acea42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ Default to `undefined`.
Restrict dyld loading. See doc about this [code signature flag](https://developer.apple.com/documentation/security/seccodesignatureflags/kseccodesignaturerestrict?language=objc) for more details. Disabled by default.

`signature-flags` - *String*
Comma separated string or array for [code signature flag](https://developer.apple.com/documentation/security/seccodesignatureflags?language=objc). Default to `underfined`
Comma separated string or array for [code signature flag](https://developer.apple.com/documentation/security/seccodesignatureflags?language=objc). Default to `undefined`.

`strict-verify` - *Boolean|String|Array.<String>*

Expand Down
3 changes: 2 additions & 1 deletion sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ function signApplicationAsync (opts) {
} else {
args.push('--timestamp')
}

let optionsArguments = []

if (opts['signature-flags']) {
Expand All @@ -182,7 +183,7 @@ function signApplicationAsync (opts) {

if (opts['restrict']) {
optionsArguments.push('restrict')
debugwarn('this flag is to be deprecated, consider using --signature-flags=restrict')
debugwarn('This flag is to be deprecated, consider using --signature-flags=restrict instead')
}

if (optionsArguments.length) {
Expand Down

0 comments on commit 0acea42

Please sign in to comment.