mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
11 lines
256 B
JavaScript
11 lines
256 B
JavaScript
exports.readFileSync = function (path) {
|
|
var taglibProps;
|
|
|
|
try {
|
|
taglibProps = require(path);
|
|
} catch(e) {
|
|
throw new Error('Unable to parse taglib JSON at path "' + path + '". Exception: ' + e);
|
|
}
|
|
|
|
return taglibProps;
|
|
}; |