Upgrading to GitLab 11.10.0. Expect errors and see debian-infrastructure-announce@lists.debian.org for further information.

fix patch

parent 17113b81
--- a/osenv.js
+++ b/osenv.js
@@ -1,8 +1,9 @@
@@ -1,8 +1,7 @@
var isWindows = process.platform === 'win32'
var path = require('path')
+var os = require('os')
var exec = require('child_process').exec
-var osTmpdir = require('os-tmpdir')
-var osHomedir = require('os-homedir')
+var osTmpdir = os.tmpdir()
+var osHomedir = os.homedir()
// looking up envs is a bit costly.
// Also, sometimes we want to have a fallback
@@ -47,11 +46,11 @@
}, 'hostname')
memo('tmpdir', function () {
- return osTmpdir()
+ return os.tmpdir()
})
memo('home', function () {
- return osHomedir()
+ return os.homedir()
})
memo('path', function () {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment