mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Prettier: Upgrade to 2 (#30387)
* Updated package json but not updated source files * Update eslint plugin * updated files
This commit is contained in:
@@ -75,7 +75,7 @@ export class DashboardExporter {
|
||||
promises.push(
|
||||
getDataSourceSrv()
|
||||
.get(datasource)
|
||||
.then(ds => {
|
||||
.then((ds) => {
|
||||
if (ds.meta?.builtIn) {
|
||||
return;
|
||||
}
|
||||
@@ -204,7 +204,7 @@ export class DashboardExporter {
|
||||
_.defaults(newObj, saveModel);
|
||||
return newObj;
|
||||
})
|
||||
.catch(err => {
|
||||
.catch((err) => {
|
||||
console.error('Export failed:', err);
|
||||
return {
|
||||
error: err,
|
||||
|
||||
Reference in New Issue
Block a user