mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-13 09:30:05 +00:00
fix: is writeable?
This commit is contained in:
parent
0691fc76df
commit
90984294e9
3 changed files with 7 additions and 1 deletions
|
|
@ -23,6 +23,9 @@ try {
|
|||
const platform = getPlatform(os);
|
||||
|
||||
const filename = path.join( __dirname, getUploaderName(platform));
|
||||
fs.access(filename, fs.constants.W_OK, (err) => {
|
||||
core.info(`${filename} ${err ? 'is not writable' : 'is writable'}`);
|
||||
});
|
||||
core.info(`filename: ${filename}`);
|
||||
|
||||
https.get(getBaseUrl(platform, uploaderVersion), (res) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue