Debugging

This commit is contained in:
James Ives 2019-11-10 15:36:26 -05:00
parent a5b924c495
commit 1a1a0a806f
2 changed files with 6 additions and 6 deletions

View File

@ -34,9 +34,9 @@ function init() {
`The deployment folder cannot be prefixed with '/' or './'. Instead reference the folder name directly.`
);
}*/
yield util_1.execute(`git init`, constants_1.action.build);
yield util_1.execute(`git config user.name ${constants_1.action.pusher.name}`, constants_1.action.build);
yield util_1.execute(`git config user.email ${constants_1.action.pusher.email}`, constants_1.action.build);
yield util_1.execute(`git init`, constants_1.workspace);
yield util_1.execute(`git config user.name ${constants_1.action.pusher.name}`, constants_1.workspace);
yield util_1.execute(`git config user.email ${constants_1.action.pusher.email}`, constants_1.workspace);
}
catch (error) {
core.setFailed(`There was an error initializing the repository: ${error}`);

View File

@ -20,9 +20,9 @@ export async function init(): Promise<any> {
);
}*/
await execute(`git init`, action.build);
await execute(`git config user.name ${action.pusher.name}`, action.build);
await execute(`git config user.email ${action.pusher.email}`, action.build);
await execute(`git init`, workspace);
await execute(`git config user.name ${action.pusher.name}`, workspace);
await execute(`git config user.email ${action.pusher.email}`, workspace);
} catch (error) {
core.setFailed(`There was an error initializing the repository: ${error}`);
} finally {