Skip to content

Commit

Permalink
chore: remove 'use strict' statements from codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalsadhu committed Jul 31, 2024
1 parent ce37744 commit 94924bc
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 11 deletions.
2 changes: 0 additions & 2 deletions classes/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import Ping from './ping.js';
import Alias from './alias.js';
import Meta from './meta.js';
Expand Down
2 changes: 0 additions & 2 deletions classes/login.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import abslog from 'abslog';
import eik from '@eik/common';
import { request } from '../utils/http/index.js';
Expand Down
2 changes: 0 additions & 2 deletions commands/map-alias.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import ora from 'ora';
import Alias from '../classes/alias.js';
import { logger, getDefaults, getCWD } from '../utils/index.js';
Expand Down
2 changes: 0 additions & 2 deletions commands/map.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { join } from 'path';
import ora from 'ora';
import PublishMap from '../classes/publish/map.js';
Expand Down
2 changes: 0 additions & 2 deletions test/fixtures/client.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

const main = () => {
const thing = 'this is a test fixture';
return thing;
Expand Down
2 changes: 1 addition & 1 deletion test/utils.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test('calculate file hash', async (t) => {
const hash = await h.file(join(__dirname, 'fixtures', 'client.js'));
t.equal(
hash,
'sha512-7y37q0qk5mDqzHrGvJAR9J8kPX+orJhuO+KrCTKw11ZKRI/5udUuKt2Zb/thH5H39OQYrvnHTLbZS9ShG/lGCg==',
'sha512-AzZUEv6TzJOlb7MOJSkAtFDihZnjCqOjgWqQmRlQj+/9CsWGQKGJzOT1CPp2R9PQlA0dd3B1+xrrgLsDX9OFtQ==',
'returned hash should match',
);
});
Expand Down

0 comments on commit 94924bc

Please sign in to comment.