2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

incr: remove common

- utils is frontend safe
This commit is contained in:
18alantom 2022-03-21 12:19:19 +05:30
parent 26e030106f
commit 9424b131be
5 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import { getMoneyMaker } from 'pesa';
import { markRaw } from 'vue';
import * as errors from './common/errors';
import * as errors from './utils/errors';
import { asyncHandler, getDuplicates, getRandomString } from './utils';
import {
DEFAULT_DISPLAY_PRECISION,

View File

@ -1,6 +1,6 @@
import frappe from 'frappe';
import { validTypes } from 'frappe/backends/helpers';
import { ValueError } from 'frappe/common/errors';
import { ValueError } from 'frappe/utils/errors';
import { indicators as indicatorColor } from '../../src/colors';
import { t } from '../utils/translation';
import Document from './document';

View File

@ -4,7 +4,7 @@ import {
getSnippets,
getWhitespaceSanitized,
} from '../../scripts/helpers';
import { ValueError } from '../common/errors';
import { ValueError } from './errors';
class TranslationString {
constructor(...args) {

View File

@ -5,7 +5,7 @@ import {
LinkValidationError,
MandatoryError,
ValidationError,
} from 'frappe/common/errors';
} from 'frappe/utils/errors';
import Document from 'frappe/model/document';
import config, { ConfigKeys, TelemetrySetting } from './config';
import { IPC_ACTIONS, IPC_MESSAGES } from './messages';