Version: 1.0.0-alpha.11.0.0-alpha.21.0.0-alpha.31.0.0-alpha.41.0.0-alpha.51.0.01.0.11.0.21.0.31.1.01.1.11.2.01.2.11.2.21.2.31.2.42.0.03.0.04.0.04.0.14.1.04.1.14.1.24.1.34.1.44.1.55.0.05.0.25.0.35.0.45.0.55.0.6-beta.05.0.65.0.75.0.8-beta.05.0.85.0.95.0.10-beta.05.0.105.1.0-beta.15.1.05.1.1-beta.05.1.1-beta.15.1.1-beta.25.1.1-beta.35.1.1-beta.45.1.1-beta.55.1.15.1.25.2.06.0.0-beta.06.0.0-beta.16.0.0-beta.26.0.0-beta.36.0.0-beta.46.0.0-beta.56.0.0-beta.66.0.0-beta.76.0.0-beta.86.0.0-beta.96.0.0-beta.106.0.0-beta.116.0.0-beta.126.0.0-beta.136.0.0-beta.146.0.0-beta.15
/***************************************************************************************
* (c) 2017 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
****************************************************************************************/
const os = require('os');
const prettyjson = require('prettyjson');
module.exports = (error) => {
return os.EOL + prettyjson.render(error);
};