Skip to content

Commit

Permalink
fix: trim token when storing (fixes issue with windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliassjogreen committed Sep 13, 2020
1 parent e816a16 commit b76fc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/github/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const github = <ReleasePlugin> {
Deno.exit(1);
}
logger.info("Token saved to local store!");
await store.set(store.known.github, token);
await store.set(store.known.github, token.trim());
}
},
async postCommit(
Expand Down

0 comments on commit b76fc56

Please sign in to comment.