mirror of
https://github.com/ncipollo/release-action
synced 2026-09-14 20:13:22 +00:00
Remove untildify
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import os from "os"
|
||||
|
||||
export function expandTilde(path: string): string {
|
||||
return path.replace(/^~(?=$|\/|\\)/, os.homedir())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user