Clean code

This commit is contained in:
CrazyMax 2020-05-11 19:14:47 +02:00
parent 1f6a469484
commit caeb8511cc
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 0 additions and 10 deletions

6
dist/index.js generated vendored
View file

@ -1432,12 +1432,6 @@ const git = (args = []) => __awaiter(void 0, void 0, void 0, function* () {
return res.stdout.trim();
});
});
function getConfig(key) {
return __awaiter(this, void 0, void 0, function* () {
return yield git(['config', key]);
});
}
exports.getConfig = getConfig;
function setConfig(key, value) {
return __awaiter(this, void 0, void 0, function* () {
yield git(['config', key, value]);

View file

@ -9,10 +9,6 @@ const git = async (args: string[] = []): Promise<string> => {
});
};
export async function getConfig(key: string): Promise<string> {
return await git(['config', key]);
}
export async function setConfig(key: string, value: string): Promise<void> {
await git(['config', key, value]);
}