We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49145f1 commit 230df78Copy full SHA for 230df78
script/lib/update-dependency/git.js
@@ -5,7 +5,10 @@ const git = simpleGit(repositoryRootPath);
5
const packageJsonFilePath = path.join(repositoryRootPath, 'package.json');
6
const packageLockFilePath = path.join(repositoryRootPath, 'package-lock.json');
7
8
-// TODO config git.credentials()
+git.addRemote(
9
+ 'origin',
10
+ `https://atom:${process.env.AUTH_TOKEN}@github.com/atom/atom.git/`
11
+);
12
module.exports = {
13
switchToMaster: async function() {
14
const { current } = await git.branch();
0 commit comments