Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Oct 31, 2023
1 parent 05c30b0 commit 8a22edf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
auto-install-peers=false
enable-pre-post-scripts=true
# TODO: Enable once public
# provenance=true
strict-peer-dependencies=false
2 changes: 2 additions & 0 deletions src/utils/clack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import pc from 'picocolors'
import { isCI } from 'std-env'

// TODO: Import from Clack
////////////////////////////////////////////////////////////////////////////////////////////////
const unicode = isUnicodeSupported()

function s(c: string, fallback: string) {
Expand All @@ -19,6 +20,7 @@ export const S_BAR = s('│', '|')
export const S_ERROR = s('■', 'x')
export const S_INFO = s('●', '•')
export const S_SUCCESS = s('◆', '*')
////////////////////////////////////////////////////////////////////////////////////////////////

export function message(message = '', options: LogMessageOptions = {}) {
const { symbol = pc.gray(S_BAR) } = options
Expand Down
4 changes: 2 additions & 2 deletions src/utils/codegen/getTypes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ test('getColumnType > Generated', () => {
email: string;
};
export type UserSelectable = Selectable<User>;
export type UserInsertable = Insertable<User>;
export type UserSelectable = Selectable<User>;
export type UserUpdateable = Updateable<User>;
export interface DB {
Expand Down

0 comments on commit 8a22edf

Please sign in to comment.