mirror of
https://github.com/Azure/setup-helm.git
synced 2026-07-09 01:41:36 +00:00
v3 new release (#80)
This commit is contained in:
committed by
GitHub
parent
a767c8d3a1
commit
20d2b4f98d
+17
@@ -0,0 +1,17 @@
|
||||
// Copyright 2014 Simon Lydell
|
||||
// X11 (“MIT”) Licensed. (See LICENSE.)
|
||||
|
||||
var path = require("path")
|
||||
|
||||
"use strict"
|
||||
|
||||
function urix(aPath) {
|
||||
if (path.sep === "\\") {
|
||||
return aPath
|
||||
.replace(/\\/g, "/")
|
||||
.replace(/^[a-z]:\/?/i, "/")
|
||||
}
|
||||
return aPath
|
||||
}
|
||||
|
||||
module.exports = urix
|
||||
Reference in New Issue
Block a user