mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-15 12:36:53 +08:00
Add TODO
This commit is contained in:
1
lib/caching.js
generated
1
lib/caching.js
generated
@@ -26,6 +26,7 @@ const JULIA_HOME = path.join(`${process.env.HOME}`, '.julia');
|
||||
*/
|
||||
function cacheArtifacts() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
// TODO: Add error handling in case no Project.toml files are present
|
||||
const projectFiles = yield (yield glob.create('**/Project.toml')).glob();
|
||||
let projectsHash = '';
|
||||
projectFiles.forEach((f) => {
|
||||
|
||||
@@ -12,6 +12,7 @@ const JULIA_HOME = path.join(`${process.env.HOME}`, '.julia')
|
||||
* Cache the ~/.julia/artifacts directory.
|
||||
*/
|
||||
export async function cacheArtifacts(): Promise<number> {
|
||||
// TODO: Add error handling in case no Project.toml files are present
|
||||
const projectFiles = await (await glob.create('**/Project.toml')).glob()
|
||||
let projectsHash = ''
|
||||
projectFiles.forEach((f) => {
|
||||
|
||||
Reference in New Issue
Block a user