mirror of
https://github.com/valitydev/repo-file-sync-action.git
synced 2024-11-06 09:55:21 +00:00
🔊 Change sync log message
This commit is contained in:
parent
fbd3b046c6
commit
45b007419e
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -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`)
|
||||
|
||||
|
@ -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`)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user