diff --git a/.github/funding.yml b/.github/funding.yml deleted file mode 100644 index 1a630e9..0000000 --- a/.github/funding.yml +++ /dev/null @@ -1,3 +0,0 @@ -github: sindresorhus -open_collective: sindresorhus -custom: https://sindresorhus.com/donate diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9f06ce6..3b8aa86 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,10 +13,9 @@ jobs: - 16 - 14 - 12 - steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - run: npm install diff --git a/cli.js b/cli.js index 02ea2cb..a718470 100755 --- a/cli.js +++ b/cli.js @@ -1,5 +1,4 @@ #!/usr/bin/env node - import process from 'node:process'; import meow from 'meow'; import cpy from 'cpy'; @@ -66,4 +65,3 @@ const cli = meow(` } } })(); - diff --git a/license b/license index e7af2f7..fa7ceba 100644 --- a/license +++ b/license @@ -1,6 +1,6 @@ MIT License -Copyright (c) Sindre Sorhus (sindresorhus.com) +Copyright (c) Sindre Sorhus (https://sindresorhus.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/package.json b/package.json index 3804cf7..09baa5e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" + "url": "https://sindresorhus.com" }, "maintainers": [ { diff --git a/readme.md b/readme.md index f0ec62e..500aaaf 100644 --- a/readme.md +++ b/readme.md @@ -11,8 +11,8 @@ ## Install -``` -$ npm install --global cpy-cli +```sh +npm install --global cpy-cli ``` ## Usage diff --git a/test.js b/test.js index 7cdfcd0..d8c8d19 100644 --- a/test.js +++ b/test.js @@ -5,7 +5,7 @@ import tempfile from 'tempfile'; import {execa} from 'execa'; import {pathExistsSync} from 'path-exists'; -const read = (...args) => fs.readFileSync(path.join(...args), 'utf8'); +const read = (...arguments_) => fs.readFileSync(path.join(...arguments_), 'utf8'); test.beforeEach(t => { t.context.tmp = tempfile();