fixed homedir path

This commit is contained in:
Jared Petersen 2020-05-12 01:20:54 -07:00
parent 430dc5d2af
commit 6e0fcb38f5
2 changed files with 3 additions and 2 deletions

View file

@ -23,6 +23,7 @@ process.env['RUNNER_TEMP'] = tempDir;
import * as auth from '../src/auth';
const m2Dir = path.join(__dirname, auth.M2_DIR);
const gpgHomeDir = auth.GPG_HOME_DIR;
const settingsFile = path.join(m2Dir, auth.SETTINGS_FILE);
const privateKeyFile = path.join(tempDir, auth.PRIVATE_KEY_FILE);
@ -185,7 +186,7 @@ describe('auth tests', () => {
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.homedir>${tempDir}</gpg.homedir>
<gpg.homedir>${gpgHomeDir}</gpg.homedir>
</properties>
</profile>
</profiles>

View file

@ -93,7 +93,7 @@ export function generate(
activeByDefault: true
},
properties: {
'gpg.homedir': TEMP_DIR
'gpg.homedir': GPG_HOME_DIR
}
}
]