Skip to content

Commit

Permalink
🔊 Change sync log message
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaHuhn committed Mar 7, 2021
1 parent fbd3b04 commit 45b0074
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30707,12 +30707,11 @@ const run = async () => {
await git.setPrWarning()
}

core.info(`Locally syncing file(s) between source and target repository`)
const modified = []

// Loop through all selected files of the source repo
await forEach(item.files, async (file) => {
core.info(`Looking for changed files`)

const fileExists = fs.existsSync(file.source)
if (fileExists === false) return core.warning(`Source ${ file.source } not found`)

Expand Down
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ const run = async () => {
await git.setPrWarning()
}

core.info(`Locally syncing file(s) between source and target repository`)
const modified = []

// Loop through all selected files of the source repo
await forEach(item.files, async (file) => {
core.info(`Looking for changed files`)

const fileExists = fs.existsSync(file.source)
if (fileExists === false) return core.warning(`Source ${ file.source } not found`)

Expand Down

0 comments on commit 45b0074

Please sign in to comment.