Skip to content

Commit

Permalink
FIXMEs need to be bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
battis committed Aug 1, 2024
1 parent 341818e commit 8f2f2cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .nova/Configuration.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"workspace.art_style" : 1,
"workspace.color" : 8
"todo.workspace-ignore-names": [""],
"todo.workspace-ignore-paths": ["./.grpcio"],
"workspace.art_style": 1,
"workspace.color": 8
}
2 changes: 1 addition & 1 deletion apps/router/src/Handlers/Factories/CloudStorageRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const CloudStorageRouter: HandlerFactory = ({ config, index, groups } = {}) => {
} catch (error) {
if (error == 'Error: No refresh token is set.') {
// silent login if refresh token not present
// FIXME this should be caught in Auth.authorize
// TODO this should be caught/handled in Auth.authorize, not here
req.session.redirect = req.url.replace(`https://${req.host}`, '');
res.redirect(Auth.authUrl);
} else {
Expand Down
2 changes: 2 additions & 0 deletions packages/index/src/Actions/pipelineHTML.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import File from '../File';
import { JSDOM } from 'jsdom';

// TODO pipelineHTML needs a re-think

type PipelineFunction = (params: { file: File; html: string }) => string;

const injectGoogleDocId: PipelineFunction = ({ file, html }) => {
Expand Down
1 change: 0 additions & 1 deletion packages/index/src/File.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// FIXME this is so bad!
import pipelineHTML from './Actions/pipelineHTML';
import IndexEntry from './IndexEntry';
import { JSONObject } from '@battis/typescript-tricks';
Expand Down

0 comments on commit 8f2f2cf

Please sign in to comment.