Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add "clean" = false option#44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ShMcK merged 4 commits intomasterfromfixes
Jun 20, 2020
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
log cherry-pick warnings
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
  • Loading branch information
@ShMcK
ShMcK committedJun 20, 2020
commitff789c48cd9e4991fae64876b8dfac5d88c9bbd4
7 changes: 6 additions & 1 deletionsrc/utils/exec.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,14 +22,18 @@ export function createCherryPick(cwd: string) {
return async function cherryPick(commits: string[]): Promise<void> {
for (const commit of commits) {
try {
const { stdout } = await createExec(cwd)(
const { stdout, stderr } = await createExec(cwd)(
`git cherry-pick -X theirs ${commit}`
);
if (stderr) {
console.warn(stderr);
}
if (!stdout) {
console.warn(`No cherry-pick output for ${commit}`);
}
} catch (e) {
console.warn(`Cherry-pick failed for ${commit}`);
console.error(e.message);
}
}
};
Expand All@@ -50,6 +54,7 @@ export function createCommandRunner(cwd: string) {
}
const { stdout, stderr } = await createExec(cwdDir)(command);

console.log(stdout);
console.warn(stderr);
} catch (e) {
console.error(`Command failed: "${command}"`);
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp