mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-25 15:06:55 +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);
|
||
|
},
|
||
|
};
|