Update with working working version (#12)
* Fix workflow * Trigger * [auto] Update compiled version * [auto] Commit modules * Push Windows changes * Fix * [auto] Update compiled version * Try removing cwd * [auto] Update compiled version * Try with path module * [auto] Update compiled version * Fix path * [auto] Update compiled version * Use raw path * [auto] Update compiled version * Other path * [auto] Update compiled version * Avoid @action/exec * [auto] Update compiled version * test * [auto] Update compiled version * test * [auto] Update compiled version * test * [auto] Update compiled version * test * [auto] Update compiled version * Try with shelljs * [auto] Update compiled version * Fix my stupidity * Copy scripts to local dir * [auto] Update compiled version * Still use path * [auto] Update compiled version * Delete entrypoint.sh * [auto] Update compiled version * Make file executable * [auto] Update compiled version * Try using bash * [auto] Update compiled version
This commit is contained in:
18
node_modules/json5/lib/require.js
generated
vendored
Normal file
18
node_modules/json5/lib/require.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// require.js
|
||||
// Node.js only: adds a require() hook for .json5 files, just like the native
|
||||
// hook for .json files.
|
||||
//
|
||||
// Usage:
|
||||
// require('json5/require');
|
||||
// require('./foo'); // will check foo.json5 after foo.js, foo.json, etc.
|
||||
// require('./bar.json5');
|
||||
|
||||
var FS = require('fs');
|
||||
var JSON5 = require('./json5');
|
||||
|
||||
// Modeled off of (v0.6.18 link; check latest too):
|
||||
// https://github.com/joyent/node/blob/v0.6.18/lib/module.js#L468-L472
|
||||
require.extensions['.json5'] = function (module, filename) {
|
||||
var content = FS.readFileSync(filename, 'utf8');
|
||||
module.exports = JSON5.parse(content);
|
||||
};
|
||||
Reference in New Issue
Block a user