Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Sep 21, 2023
1 parent 009be66 commit 970c142
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 39,407 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@
/.node_modules.ember-try/
/bower.json.ember-try
/package.json.ember-try

# data git checkout
/ember-api-docs-data/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ local.log
/package.json.ember-try

/ember-api-docs-data/
/ember-api-docs-data
2 changes: 0 additions & 2 deletions app/adapters/application.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { inject as service } from '@ember/service';
import JSONAPIAdapter from '@ember-data/adapter/json-api';
import fetch from 'fetch';
import ENV from 'ember-api-docs/config/environment';
import { pluralize } from 'ember-inflector';
import { isBlank } from '@ember/utils';

export default class Application extends JSONAPIAdapter {
// host = ENV.API_HOST;
currentProject = '';
currentProjectVersion = '';

Expand Down
4 changes: 3 additions & 1 deletion app/routes/project-version/classes/class.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ export default class ClassRoute extends Route.extend(ScrollTracker) {
}

if (model.isError) {
let error = new Error('Error retrieving model in routes/project-version/classes/class');
let error = new Error(
'Error retrieving model in routes/project-version/classes/class'
);

error.status = 404;

Expand Down
Loading

0 comments on commit 970c142

Please sign in to comment.