Skip to content

Commit

Permalink
Fix bug in installer package with log imports (#535)
Browse files Browse the repository at this point in the history
(meta)
  • Loading branch information
aem committed May 21, 2020
1 parent 7ec2a22 commit 8786b20
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Expand Up @@ -2,7 +2,7 @@ import {BaseExecutor, executorArgument, getExecutorArgument} from './executor'
import * as fs from 'fs-extra'
import * as path from 'path'
import spawn from 'cross-spawn'
import {log} from '@blitzjs/server/src/log'
import {log} from '@blitzjs/server'

interface NpmPackage {
name: string
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/src/executors/executor.ts
@@ -1,4 +1,4 @@
import {log} from '@blitzjs/server/src/log'
import {log} from '@blitzjs/server'

export interface BaseExecutor {
stepId: string | number
Expand Down
@@ -1,7 +1,7 @@
import {BaseExecutor, executorArgument, getExecutorArgument} from './executor'
import {filePrompt} from './file-prompt'
import {transform, Transformer} from '../utils/transform'
import {log} from '@blitzjs/server/src/log'
import {log} from '@blitzjs/server'
import {waitForConfirmation} from '../utils/wait-for-confirmation'
import {createPatch} from 'diff'
import chokidar from 'chokidar'
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/src/executors/new-file-executor.ts
@@ -1,6 +1,6 @@
import {BaseExecutor, executorArgument, getExecutorArgument} from './executor'
import {Generator, GeneratorOptions} from '@blitzjs/generator'
import {log} from '@blitzjs/server/src/log'
import {log} from '@blitzjs/server'
import {waitForConfirmation} from '../utils/wait-for-confirmation'

export interface NewFileExecutor extends BaseExecutor {
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/src/installer.ts
Expand Up @@ -9,7 +9,7 @@ import {
isFileTransformExecutor,
fileTransformExecutor,
} from './executors/file-transform-executor'
import {log} from '@blitzjs/server/src/log'
import {log} from '@blitzjs/server'
import {logExecutorFrontmatter} from './executors/executor'
import {waitForConfirmation} from './utils/wait-for-confirmation'

Expand Down

0 comments on commit 8786b20

Please sign in to comment.