Prettier: Upgrade to 2 (#30387)
* Updated package json but not updated source files * Update eslint plugin * updated files
This commit is contained in:
@@ -12,7 +12,7 @@ const defaultThemeVariablesPath = __dirname + '/../../public/sass/_variables.gen
|
||||
|
||||
const writeVariablesFile = async (path: string, data: string) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
fs.writeFile(path, data, e => {
|
||||
fs.writeFile(path, data, (e) => {
|
||||
if (e) {
|
||||
reject(e);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user