mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
getSshDirectory()
should not be exported
This commit is contained in:
parent
c3f370a726
commit
67707c759f
2 changed files with 1 additions and 3 deletions
|
@ -2720,7 +2720,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.getSshDirectory = void 0;
|
|
||||||
const fs_1 = __importDefault(__nccwpck_require__(147));
|
const fs_1 = __importDefault(__nccwpck_require__(147));
|
||||||
const path_1 = __importDefault(__nccwpck_require__(17));
|
const path_1 = __importDefault(__nccwpck_require__(17));
|
||||||
const core = __importStar(__nccwpck_require__(186));
|
const core = __importStar(__nccwpck_require__(186));
|
||||||
|
@ -2853,7 +2852,6 @@ function removeSshDirectory() {
|
||||||
function getSshDirectory() {
|
function getSshDirectory() {
|
||||||
return path_1.default.resolve(getHomeDirectory(), ".ssh");
|
return path_1.default.resolve(getHomeDirectory(), ".ssh");
|
||||||
}
|
}
|
||||||
exports.getSshDirectory = getSshDirectory;
|
|
||||||
/**
|
/**
|
||||||
* get home directory
|
* get home directory
|
||||||
* @returns home directory name
|
* @returns home directory name
|
||||||
|
|
|
@ -147,7 +147,7 @@ function removeSshDirectory(): string {
|
||||||
* get SSH directory
|
* get SSH directory
|
||||||
* @returns SSH directory name
|
* @returns SSH directory name
|
||||||
*/
|
*/
|
||||||
export function getSshDirectory(): string {
|
function getSshDirectory(): string {
|
||||||
return path.resolve(getHomeDirectory(), ".ssh");
|
return path.resolve(getHomeDirectory(), ".ssh");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue