Skip to content

Commit

Permalink
Change sed command to fit GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
VitalikL committed Nov 6, 2023
1 parent e6427f9 commit f150faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ops/sync/download-document-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ let processDetectedLinks = async function () {
})

let transferCommands = links.map(l => {
return `sed -i '' -e 's/${escapeAssetPathForSed(l.link)}/${escapeAssetPathForSed(l.remoteURL)}/g' ${l.src}`
return `sed -i -e 's/${escapeAssetPathForSed(l.link)}/${escapeAssetPathForSed(l.remoteURL)}/g' ${l.src}`
})

fs.writeFileSync(OPS_SYNC_DOWNLOAD_COMMANDS_FILENAME, `\n${downloadCommands.join("\n")}`)
Expand Down

0 comments on commit f150faa

Please sign in to comment.