WIP
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { bashRunAndReturnSync } from "./bashUtils";
|
||||
|
||||
export const gitUserEmail = bashRunAndReturnSync({
|
||||
command: 'git config user.email'
|
||||
})
|
||||
|
||||
export const gitUserName = bashRunAndReturnSync({
|
||||
command: 'git config user.name'
|
||||
})
|
||||
|
||||
export const jjUserName = (userName = gitUserEmail) => {
|
||||
const result = userName.replace(/@/g, '__').replace(/\./g, '-')
|
||||
return result
|
||||
}
|
||||
Reference in New Issue
Block a user