Lines Matching refs:fs
16 const fs = require('fs'); constant
61 if (module.resource && fs.existsSync(module.resource)) {
74 if (fs.existsSync(commonPath)) {
79 if (fs.existsSync(i18nPath)) {
176 if (fs.existsSync(entryFile)) {
177 const oldArray = JSON.parse(fs.readFileSync(entryFile));
181 …} else if (!(process.env.tddMode === 'true') && !(fs.existsSync(cachePath) && fs.statSync(cachePat…
185 if (fs.existsSync(cachePath) && fs.statSync(cachePath).isDirectory()) {
186 fs.writeFileSync(entryFile, JSON.stringify(entryArray));
196 fs.writeFile(path.resolve(buildPath, 'compile_error.log'), content, (err) => {
320 if (!fs.existsSync(process.env.aceSoPath)) {
322 if (!(fs.existsSync(parent) && !fs.statSync(parent).isFile())) {
326 oldInfo = fs.readFileSync(process.env.aceSoPath, 'utf-8') + '\n';
328 fs.writeFileSync(process.env.aceSoPath, oldInfo + Array.from(useOSFiles).join('\n'));