We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a65675 + 188f164 commit e015667Copy full SHA for e015667
1 file changed
src/dock-cli.sh
@@ -1352,7 +1352,7 @@ tile::resolve::url() {
1352
}
1353
1354
tile::resolve() {
1355
- local appPath termPath
+ local appPath termPath file repl
1356
if [[ "${1:0:1}" != "{" ]]; then
1357
if [[ "${1:0:4}" == "http" ]]; then
1358
tile::resolve::url "$1"
@@ -1378,7 +1378,17 @@ tile::resolve() {
1378
fi
1379
else
1380
# Already a JSON Object
1381
- echo "$1"
+ repl="$1"
1382
+ type=$(tile::type "$1")
1383
+ case "$type" in
1384
+ app*)
1385
+ file=$(tile::url "$1")
1386
+ if [ ! -e "$url" ]; then
1387
+ file=$(app::resolve "$file")
1388
+ repl=$(json-obj-add "$1" url "$file")
1389
+ fi
1390
+ esac
1391
+ echo "$repl"
1392
1393
1394
0 commit comments