mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-20 21:14:45 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
17
node_modules/urix/index.js
generated
vendored
17
node_modules/urix/index.js
generated
vendored
|
@ -1,17 +0,0 @@
|
|||
// 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
|
Loading…
Add table
Add a link
Reference in a new issue