File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ def configure():
1010 script_dir = os .path .dirname (os .path .abspath (__file__ ))
1111 # hooks/SessionStart -> root is 2 levels up
1212 root_dir = os .path .abspath (os .path .join (script_dir , "../.." ))
13- source_yaml = os .path .join (root_dir , "google-ads.yaml" )
13+ source_yaml = os .path .join (os . path . expanduser ( "~" ) , "google-ads.yaml" )
1414 config_dir = os .path .join (root_dir , "config" )
1515 target_yaml = os .path .join (config_dir , "google-ads.yaml" )
1616 ext_version_script = os .path .join (root_dir , "skills/ext_version/scripts/get_extension_version.py" )
@@ -56,7 +56,7 @@ def configure():
5656 sys .exit (1 )
5757
5858 # Output env var command
59- print (f"export GOOGLE_ADS_CONFIGURATION_FILE_PATH=\" { target_yaml } \" " )
59+ print (f"export GOOGLE_ADS_CONFIGURATION_FILE_PATH=\" { target_yaml } \" " , file = sys . stdout )
6060
6161if __name__ == "__main__" :
6262 timestamp = datetime .datetime .now ()
Original file line number Diff line number Diff line change 44 {
55 "name" : " custom-config-python" ,
66 "type" : " command" ,
7- "ecommand " : " python3 ${extensionPath}/hooks/SessionStart/custom_config_python.py" ,
7+ "command " : " python3 ${extensionPath}/hooks/SessionStart/custom_config_python.py" ,
88 "description" : " Configures Google Ads environment at session start." ,
99 "timeout" : 30000
1010 }
You can’t perform that action at this time.
0 commit comments