Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Please refactor this #34

Open
planteater opened this issue Jan 3, 2020 · 0 comments
Open

Please refactor this #34

planteater opened this issue Jan 3, 2020 · 0 comments
Assignees

Comments

@planteater
Copy link

looks like a mess

In drinkypoo/thirsty/stout.js (Lines 49-55)


	componentDidMount() {
		const { repositories } = this.context;
		const repository = repositories[0];
		const gitDirectory = repository.getWorkingDirectory();
		this.setState({
			email: repository.getConfigValue("user.email", gitDirectory) || ""
		});

Open on Web · Open in IDE · Open on GitHub

@planteater planteater self-assigned this Jan 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant