Skip to content

Commit a9393db

Browse files
committed
Rename substitution var to avoid confusion
1 parent c4d6355 commit a9393db

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{RESOURCES}}
1+
{{ASSETS}}
22

33
<div id="ResourceEditor"
44
data-dataset-id="{{ pkg_id }}"
@@ -7,4 +7,4 @@
77
data-auth-token="{{ api_key }}"
88
data-organization-id="{{ h.blob_storage_storage_namespace() }}"
99
data-resource-id="{{ resource_id }}">
10-
</div>
10+
</div>

sync.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fi
4747
cd ..
4848

4949
echo "Updating upload_module.html template..."
50-
export RESOURCES=$(python -c "import sys;print(sys.argv[1].replace('build/static','datapub'))" "$bundles")
50+
export ASSETS=$(python -c "import sys;print(sys.argv[1].replace('build/static','datapub'))" "$bundles")
5151
bash templater.sh ${UPLOAD_MODULE_PATH}.template > ${UPLOAD_MODULE_PATH}.html
5252

5353
echo "Updating assets ..."

0 commit comments

Comments
 (0)