diff --git a/lib/caching.js b/lib/caching.js index 90defd9..0a72c39 100644 --- a/lib/caching.js +++ b/lib/caching.js @@ -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) => { diff --git a/src/caching.ts b/src/caching.ts index 4b9d74d..19b8eb9 100644 --- a/src/caching.ts +++ b/src/caching.ts @@ -12,6 +12,7 @@ const JULIA_HOME = path.join(`${process.env.HOME}`, '.julia') * Cache the ~/.julia/artifacts directory. */ export async function cacheArtifacts(): Promise { + // 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) => {