From fac69f5780bb1ef83d988745a9b53c8250094f51 Mon Sep 17 00:00:00 2001 From: Sascha Mann Date: Thu, 25 Jun 2020 13:46:40 +0200 Subject: [PATCH] Add TODO --- lib/caching.js | 1 + src/caching.ts | 1 + 2 files changed, 2 insertions(+) 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) => {