This is an automated email from the ASF dual-hosted git repository.

slawrence pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-infrastructure.git


The following commit(s) were added to refs/heads/main by this push:
     new ab907ef  Fix "path not defined" error
ab907ef is described below

commit ab907efcfffb4d27e95b441c45b3f3739128cb98
Author: Steve Lawrence <[email protected]>
AuthorDate: Fri Dec 5 14:26:22 2025 -0500

    Fix "path not defined" error
    
    We don't have the path module imported which lead to a path not define
    error. To be consistent with the rest of the code, use template literals
    to build the svn path.
---
 actions/release-candidate/dist/main/index.js | 2 +-
 actions/release-candidate/src/main.js        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/actions/release-candidate/dist/main/index.js 
b/actions/release-candidate/dist/main/index.js
index 7b89c02..f5b67ae 100644
--- a/actions/release-candidate/dist/main/index.js
+++ b/actions/release-candidate/dist/main/index.js
@@ -31988,7 +31988,7 @@ async function run() {
                        fs.mkdirSync(`${ svn_config_dir }`, { recursive: true 
});
 
                        // Write to/Overwrite the 'servers' file inside it
-                       const servers_file = path.join(svn_config_dir, 
'servers');
+                       const servers_file = `${ svn_config_dir }/servers`;
                        const servers_content = `
 [global]
 store-plaintext-passwords = yes
diff --git a/actions/release-candidate/src/main.js 
b/actions/release-candidate/src/main.js
index 815b59c..79553b1 100644
--- a/actions/release-candidate/src/main.js
+++ b/actions/release-candidate/src/main.js
@@ -159,7 +159,7 @@ async function run() {
                        fs.mkdirSync(`${ svn_config_dir }`, { recursive: true 
});
 
                        // Write to/Overwrite the 'servers' file inside it
-                       const servers_file = path.join(svn_config_dir, 
'servers');
+                       const servers_file = `${ svn_config_dir }/servers`;
                        const servers_content = `
 [global]
 store-plaintext-passwords = yes

Reply via email to