Skip to content

Commit

Permalink
chore: remove unused vars and imports (#3682)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryouaki authored Jan 12, 2022
1 parent ce973cd commit 3f05b5c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions packages/less/src/less-node/image-size.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ export default environment => {
currentFileInfo.currentDirectory : currentFileInfo.entryPath;

const fragmentStart = filePath.indexOf('#');
let fragment = '';
if (fragmentStart !== -1) {
fragment = filePath.slice(fragmentStart);
filePath = filePath.slice(0, fragmentStart);
}

Expand Down
1 change: 0 additions & 1 deletion packages/less/src/less-node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import UrlFileManager from './url-file-manager';
import createFromEnvironment from '../less';
const less = createFromEnvironment(environment, [new FileManager(), new UrlFileManager()]);
import lesscHelper from './lessc-helper';
import path from 'path';

// allow people to create less with their own environment
less.createFromEnvironment = createFromEnvironment;
Expand Down
2 changes: 0 additions & 2 deletions packages/less/src/less/tree/expression.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import Node from './node';
import Paren from './paren';
import Comment from './comment';
import Dimension from './dimension';
import * as Constants from '../constants';
const MATH = Constants.Math;

const Expression = function(value, noSpacing) {
this.value = value;
Expand Down

0 comments on commit 3f05b5c

Please sign in to comment.