Comparing version 0.41.9 to 0.41.10
@@ -340,2 +340,4 @@ const toposort = require('toposort'); | ||
continue; | ||
} else if (!(afterLens in lenses)) { | ||
throw new Error(`lens "${name}" defines after="${afterLens}", but it was not found in [${Object.keys(lenses)}]`); | ||
} | ||
@@ -356,2 +358,4 @@ | ||
continue; | ||
} else if (!(beforeLens in lenses)) { | ||
throw new Error(`lens "${name}" defines before="${beforeLens}", but it was not found in [${Object.keys(lenses)}]`); | ||
} | ||
@@ -358,0 +362,0 @@ |
@@ -90,2 +90,6 @@ const axios = require('axios'); | ||
if (!root) { | ||
throw new Error(`Could not resolve path "${input.root}" within input tree ${await inputRoot.getHash()}`); | ||
} | ||
// merge input root into tree with any filters applied | ||
@@ -92,0 +96,0 @@ const tree = this.workspace.getRepo().createTree(); |
@@ -69,2 +69,12 @@ const path = require('path'); | ||
toString() { | ||
let str = this.hash; | ||
if (this.dirty) { | ||
str += '(+pending changes)' | ||
} | ||
return str; | ||
} | ||
async getHash () { | ||
@@ -71,0 +81,0 @@ if (!this.dirty) { |
{ | ||
"name": "hologit", | ||
"version": "0.41.9", | ||
"version": "0.41.10", | ||
"description": "Hologit automates the projection of layered composite file trees based on flat, declarative plans", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/EmergencePlatform/hologit", |
148708
3377