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
  • Loading branch information
hwanseung committed Jan 14, 2018
1 parent 1352e61 commit 8654a68
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/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

import * as file from 'core/base/file';
import {IDLTypeMap} from 'core/parser/idl_type_map';
import {DefinitionInfo} from 'core/parser/idl_types';
import {Parser} from 'core/parser/parser';
import * as file from 'generator/base/file';

async function readAndParse(idlFilePath: string): Promise<void> {
const idlFragment: string = await file.read(idlFilePath);
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 8654a68

Please sign in to comment.