Skip to content

Commit

Permalink
Merge pull request w3c#188 from w3c/relative-patch-path
Browse files Browse the repository at this point in the history
Print a relative path when applying CSS/IDL patches
  • Loading branch information
dontcallmedom authored Apr 21, 2021
2 parents 7838d91 + 792ff5b commit 2bbd7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async function main() {
for (const file of patchFiles) {
if (file.endsWith('.patch')) {
const patch = path.join(patchDir, file);
console.log(`Applying ${patch}`);
console.log(`Applying ${path.relative(rootDir, patch)}`);
await execFile('git', ['apply', `--directory=packages/${name}`, '-p3', patch], {
cwd: rootDir
});
Expand Down

0 comments on commit 2bbd7bb

Please sign in to comment.