trying to force gpg homedir to posix for windows to fix windows import bug

This commit is contained in:
Jared Petersen 2020-05-12 20:44:29 -07:00
parent 11c39b61f2
commit 1607b0dafd
2 changed files with 1 additions and 1 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

View File

@ -9,7 +9,7 @@ import {create as xmlCreate} from 'xmlbuilder2';
export const M2_DIR = '.m2';
export const TEMP_DIR = util.getTempDir();
export const GPG_HOME_DIR = path.join(TEMP_DIR, '.gnupg');
export const GPG_HOME_DIR = path.join(TEMP_DIR, '.gnupg').replace(/\\/g, '/'); // Enforce posix path
export const SETTINGS_FILE = 'settings.xml';
export const PRIVATE_KEY_FILE = 'private-key.asc';