Merge branch 'master' into develop
This commit is contained in:
commit
5611511ce4
9 changed files with 367 additions and 292 deletions
|
@ -22,7 +22,10 @@ export default abstract class Script {
|
|||
const green = (s) => "\x1b[92m" + s + "\x1b[0m"
|
||||
console.log(green("All done! (" + millisNeeded + " ms)"))
|
||||
})
|
||||
.catch((e) => console.log(`ERROR in script ${process.argv[1]}:`, e))
|
||||
.catch((e) => {
|
||||
console.log(`ERROR in script ${process.argv[1]}:`, e)
|
||||
process.exit(1)
|
||||
})
|
||||
}
|
||||
|
||||
public printHelp() {
|
||||
|
|
|
@ -415,6 +415,11 @@ class LayerOverviewUtils extends Script {
|
|||
sharedLayers.forEach((_, key) => {
|
||||
priviliged.delete(key)
|
||||
})
|
||||
|
||||
// These two get a free pass
|
||||
priviliged.delete("summary")
|
||||
priviliged.delete("last_click")
|
||||
|
||||
if (priviliged.size > 0) {
|
||||
throw (
|
||||
"Priviliged layer " +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue