mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-21 13:34:46 +00:00
.
This commit is contained in:
parent
9fff29ba6c
commit
00c3b50fca
7278 changed files with 0 additions and 1778943 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