We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b0de4 commit 7a61151Copy full SHA for 7a61151
src/main.py
@@ -57,9 +57,10 @@ def main():
57
}]
58
}
59
# loop through gs files in webflow directory
60
- for file in os.listdir(f'repo/{ENV.PROJECT_PATH}'):
+ repo_path = f'repo/{ENV.PROJECT_PATH}'
61
+ for file in os.listdir(repo_path):
62
if file.endswith('.gs'):
- with open(os.path.join('.', file), 'r') as f:
63
+ with open(os.path.join(repo_path, file), 'r') as f:
64
request['files'].append({
65
'name': file,
66
'type': 'SERVER_JS',
0 commit comments