Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move file.ts to core/base from generator/base #235

Merged
merged 1 commit into from
Feb 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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