Skip to content

Commit

Permalink
Update lib.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Sep 2, 2024
1 parent ab1e83d commit 739329c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ export default async function run(

const settings: ActionInterface = {
...action,
...configuration,
...configuration
}

// Sets the branch to the default value if it's not defined
settings.branch = !isNullOrUndefined(settings.branch)
? settings.branch
: 'gh-pages'
? settings.branch
: 'gh-pages'

// Defines the repository/folder paths and token types.
// Also verifies that the action has all of the required parameters.
Expand Down

0 comments on commit 739329c

Please sign in to comment.