/[sudobot]/trunk/src/Config.js
ViewVC logotype

Diff of /trunk/src/Config.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5 by rakin, Mon Jul 29 17:28:11 2024 UTC revision 11 by rakin, Mon Jul 29 17:28:13 2024 UTC
# Line 18  class Config { Line 18  class Config {
18      }      }
19    
20      write() {      write() {
21          fs.writeFile(path.resolve(__dirname, app.rootdir, "config", "config.json"), JSON.stringify(this.props), (err) => {          fs.writeFile(path.resolve(__dirname, app.rootdir, "config", "config.json"), JSON.stringify(this.props, undefined, ' '), (err) => {
22              console.log(err);              console.log(err);
23          });          });
24      }      }

Legend:
Removed from v.5  
changed lines
  Added in v.11

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26