Permalink
Browse files

fix(cache): fix directory existence checking

  • Loading branch information...
jkuri committed Sep 11, 2017
1 parent b1148f9 commit 7c91c857ba83b5d08454e37f913c6b5f7196d905
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/api/process.ts
@@ -182,9 +182,9 @@ function executeInContainer(name: string, cmd: Command): Observable<ProcessOutpu
}

if (cmd.type === CommandType.store_cache) {
observer.next({ type: 'data', data: yellow('==> Storing cache ...') + '\r' });
observer.next({ type: 'data', data: yellow('==> restoring cache ...') + '\r' });
} else if (cmd.type === CommandType.restore_cache) {
observer.next({ type: 'data', data: yellow('==> Restoring cache ...') + '\r' });
observer.next({ type: 'data', data: yellow('==> saving cache ...') + '\r' });
} else {
observer.next({ type: 'data', data: yellow('==> ' + cmd.command) + '\r' });
}

0 comments on commit 7c91c85

Please sign in to comment.