Skip to content

Commit 346a57b

Browse files
committed
chore(utils): remove unused and outdated setEnv, addPath
1 parent 53ae3f6 commit 346a57b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

utils.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ const https = require("https");
33
const { inspect } = require("util");
44
const { exec } = require("child_process");
55

6-
/**
7-
* @param {string} path
8-
*/
9-
function addPath(path) {
10-
console.log(`::add-path::${path}`);
11-
}
12-
136
/**
147
* Get env variable value
158
* @param {string} name name of env variable
@@ -77,14 +70,6 @@ function request(url, { body, ...options } = {}) {
7770
});
7871
}
7972

80-
/**
81-
* @param {string} key
82-
* @param {string} value
83-
*/
84-
function setEnv(key, value) {
85-
console.log(`::set-env name=${key}::${value}`);
86-
}
87-
8873
/**
8974
* @param {string} key
9075
* @param {string|boolean|null|number} value
@@ -151,13 +136,11 @@ function yesOrNo(value) {
151136
}
152137

153138
module.exports = {
154-
addPath,
155139
env,
156140
exit,
157141
formatAsHeading,
158142
pprint,
159143
request,
160-
setEnv,
161144
setOutput,
162145
sh,
163146
yesOrNo,

0 commit comments

Comments
 (0)