mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-30 01:17:01 +00:00
13 lines
352 B
JavaScript
13 lines
352 B
JavaScript
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
// Licensed under the MIT License.
|
||
|
const fs = require("fs");
|
||
|
|
||
|
module.exports = {
|
||
|
writeTsconfigSync: (tsconfigPath, content) => {
|
||
|
let serializedContent = JSON.stringify(content, null, " ");
|
||
|
serializedContent += "\n";
|
||
|
|
||
|
fs.writeFileSync(tsconfigPath, serializedContent);
|
||
|
},
|
||
|
};
|