mirror of
https://github.com/CIMEngine/cimengine-build-tools.git
synced 2024-11-24 21:06:23 +03:00
fix: creating country
This commit is contained in:
parent
a3ea2a093c
commit
3f6e7fccb5
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ pub fn new(cmd: NewCommands) {
|
||||||
let layers = config["main"]["layers"].clone().into_value().unwrap();
|
let layers = config["main"]["layers"].clone().into_value().unwrap();
|
||||||
|
|
||||||
let layers = if let Value::Array(mut layers) = layers {
|
let layers = if let Value::Array(mut layers) = layers {
|
||||||
layers.push(&id);
|
layers.insert(0, &id);
|
||||||
layers
|
layers
|
||||||
} else {
|
} else {
|
||||||
panic!("layers is not an array");
|
panic!("layers is not an array");
|
||||||
|
|
Loading…
Add table
Reference in a new issue