mirror of
https://github.com/actions/setup-java
synced 2024-11-09 23:22:40 +00:00
logging code
This commit is contained in:
parent
96236d7072
commit
2b05c00514
2 changed files with 2 additions and 0 deletions
1
dist/index.js
generated
vendored
1
dist/index.js
generated
vendored
|
@ -4175,6 +4175,7 @@ function write(directory, settings) {
|
||||||
// default flag is 'w'
|
// default flag is 'w'
|
||||||
return fs.writeFileSync(location, settings, { encoding: 'utf-8' });
|
return fs.writeFileSync(location, settings, { encoding: 'utf-8' });
|
||||||
}
|
}
|
||||||
|
console.log(`code ${e.code} and O_EXCL ${fs.constants.O_EXCL}`);
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -55,6 +55,7 @@ async function write(directory: string, settings: string) {
|
||||||
// default flag is 'w'
|
// default flag is 'w'
|
||||||
return fs.writeFileSync(location, settings, {encoding: 'utf-8'});
|
return fs.writeFileSync(location, settings, {encoding: 'utf-8'});
|
||||||
}
|
}
|
||||||
|
console.log(`code ${e.code} and O_EXCL ${fs.constants.O_EXCL}`);
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue