Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingkang committed Nov 28, 2019
1 parent ca928d0 commit 85ad11a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "node ./packages/walrus-cli/lib/cli.js test",
"lint": "node ./packages/walrus-cli/lib/cli.js lint",
"lint:style": "node ./packages/walrus-cli/lib/cli.js stylelint",
"prettier": "node ./packages/walrus-cli/lib/cli.js prettier --staged",
"prettier": "node ./packages/walrus-cli/lib/cli.js prettier",
"commitlint": "node ./packages/walrus-cli/lib/cli.js commitlint --env HUSKY_GIT_PARAMS",
"release": "node ./packages/walrus-cli/lib/cli.js release"
},
Expand Down
1 change: 1 addition & 0 deletions packages/walrus-plugin-prettier/src/default-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { PluginPrettierOptions } from '@walrus/types';
import { join } from 'path';

const defaultOptions: PluginPrettierOptions = {
staged: true,
config: join(__dirname, 'prettier.config.js')
};

Expand Down
2 changes: 1 addition & 1 deletion packages/walrus-plugin-prettier/src/prettier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import processFiles from './process-files';
const prettier = (currentDirectory: string, options: PluginPrettierOptions = {}) => {
const scm = scms(currentDirectory);
const {
staged = true,
staged,
branch,
since,
check,
Expand Down
2 changes: 0 additions & 2 deletions packages/walrus-shared-utils/src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,4 @@ class Logger {
};
}

const test = 131313;

export default Logger;

0 comments on commit 85ad11a

Please sign in to comment.