mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
14 lines
274 B
JavaScript
14 lines
274 B
JavaScript
'use strict';
|
|
|
|
var iconv_package;
|
|
var Iconv;
|
|
|
|
try {
|
|
// this is to fool browserify so it doesn't try (in vain) to install iconv.
|
|
iconv_package = 'iconv';
|
|
Iconv = require(iconv_package).Iconv;
|
|
} catch (E) {
|
|
// node-iconv not present
|
|
}
|
|
|
|
module.exports = Iconv;
|