Skip to content

Commit

Permalink
Move file.ts to core/base from generator/base
Browse files Browse the repository at this point in the history
ISSUE=#227
  • Loading branch information
hwanseung authored and romandev committed Feb 14, 2018
1 parent 3f7af6b commit 5b2a2fb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion core/parser/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
* limitations under the License.
*/

import * as file from 'core/base/file';
import * as types from 'core/types';
import * as file from 'generator/base/file';
import * as webidl from 'webidl2';

async function readAndParse(idlFilePath: string): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion generator/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import * as mkdirp from 'mkdirp';
import * as nunjucks from 'nunjucks';
import * as path from 'path';

import * as file from './base/file';
import * as file from '../core/base/file';
import DictionaryTypes from './parser/dictionary_types';
import EnumTypes from './parser/enum_types';
import IDLDefinition from './parser/idl_definition';
Expand Down
2 changes: 1 addition & 1 deletion generator/reader/simple_reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import * as file from '../base/file';
import * as file from '../../core/base/file';

export async function readAll(idl_files: string[]):
Promise<[string, string][]> {
Expand Down

0 comments on commit 5b2a2fb

Please sign in to comment.